无法在Jupyter Notebook上安装fastai

4

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

(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出了什么问题吗?它似乎是由于不明显的原因引起的。在安装之前,你尝试过将其删除(然后重新安装)吗? - gtancev
不,我还没有。我会试一下的。 - prismo
你能分享一下环境的内容吗? - AMC
@AMC 目前我在 Windows 10 上使用 NVIDIA GeForce 1050 GPU 运行 conda。conda 环境正在使用 Python 3.8。是否还有我遗漏的信息需要提供? - prismo
1个回答

1

尝试将Python 3.8降级到Python 3.7,这对我有用。


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接