【问题标题】:Unable to install fastai on Jupyter Notebook无法在 Jupyter Notebook 上安装 fastai
【发布时间】:2020-05-06 04:54:20
【问题描述】:

我目前正在尝试使用命令conda install -c fastai fastai 在 conda 环境中安装 fastai,如安装 guide 所示。这是运行该命令时出现的内容:

(fastai) C:\>conda install -v -c fastai fastai
Collecting package metadata (current_repodata.json): ...working... Unable to retrieve repodata (response: 404) for https://conda.anaconda.org/fastai/win-64/current_repodata.json

done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working... failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): ...working... done
Solving environment: ...working... failed with initial frozen solve. Retrying with flexible solve.
Solving environment: ...working...
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed
Traceback (most recent call last):
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\conda\exceptions.py", line 1079, in __call__
    return func(*args, **kwargs)
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\conda\cli\main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\conda\cli\conda_argparse.py", line 82, in do_call
    return getattr(module, func_name)(args, parser)
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\conda\cli\main_install.py", line 20, in execute
    install(args, parser, 'install')
  File "C:\Users\username\AppData\Local\Continuum\anaconda2\lib\site-packages\conda\cli\install.py", line 308, in install
    raise e
UnsatisfiableError: The following specifications were found to be incompatible with each other:

Output in format: Requested package -> Available versionsThe following specifications were found to be incompatible with your CUDA driver:

  - feature:/win-64::__cuda==9.2=0

Your installed CUDA driver is: 9.2

我不能说我完全理解这里的问题所在。我以前认为这是 PyTorch 的问题,但在成功安装 PyTorch 后,我仍然收到此消息。关于如何在我的环境中安装此软件包的任何想法?任何帮助表示赞赏。谢谢!

【问题讨论】:

  • CUDA 怎么了?由于不明显的原因,这似乎是一个问题。您是否尝试在安装前将其删除(然后重新安装)?
  • 不,我没有。我试试看。
  • 可以分享环境的内容吗?
  • @AMC 目前我正在使用 NVIDIA GeForce 1050 GPU 在 Windows 10 上运行 conda。 conda 环境使用 Python 3.8。您是否需要我遗漏的更多信息?

标签: anaconda pytorch conda fast-ai


【解决方案1】:

尝试从 python3.8 降级到 python 3.7,它对我有用。

【讨论】:

    猜你喜欢
    • 2018-11-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-08-14
    • 2017-07-16
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多