【问题标题】:Cinda CUDA Driver Problem when trying to Install CartoPy尝试安装 CartoPy 时出现 Cinda CUDA 驱动程序问题
【发布时间】:2020-05-31 03:56:01
【问题描述】:

我最近一直在尝试安装 CartoPy。我拥有 CartoPy 所需的所有依赖项,但是当我尝试通过 Anaconda Navigator 安装时,我收到以下消息:

UnsatisfiableError: The following specifications were found to be incompatible with the existing python installation in your
environment:

Specifications:

- cartopy -> python[version='>=2.7,<2.8.0a0|>=3.7,<3.8.0a0|>=3.6,<3.7.0a0|>=3.5,<3.6.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version
you've asked for.

When python appears to the right, that indicates that the thing on the
left is somehow not available for the python version you are constrained to. Note that conda will not change your python version to a different minor version unless you explicitly specify that.

The following specifications were found to be incompatible with your CUDA driver:

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

Your installed CUDA driver is: 11.0

我对错误消息的最后一部分感到困惑,因为 CUDA 驱动程序是匹配的版本 (11.0)。我在谷歌上搜索过,也看到过类似的问题,但没有一个明确提到 CartoPy,而且这些回复让我有点不知所措。

如何解决此错误?感谢您的帮助!

【问题讨论】:

    标签: python python-3.x conda cartopy


    【解决方案1】:

    Anaconda 的主频道目前似乎没有为 Python 3.8 构建 CartoPy。您要么需要更改为 Python 3.7,要么从 conda-forge 安装——但我不知道如何将频道添加到 Anaconda Navigator。所以我要走的路是:

    conda create -n myenv python=3.8 cartopy 
    conda activate myenv
    

    使用 cartopy 创建一个新环境并从命令行激活它。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2022-09-28
      • 2014-08-21
      • 2021-04-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-06-13
      相关资源
      最近更新 更多