Anaconda 不显示有冲突的包
Anaconda doesn't show me the packages that are conflicting
我最近注意到我的机器上有一些陈旧的 anaconda 环境(Linux Mint 18.1,是的,我知道它很古老..)
因此,在摆弄了一段时间之后,我认为从头开始安装 Anaconda 是最简单的方法。但这是我的问题开始的地方:
我对我的 CUDA 有特定的版本要求是 9.0 或 9.1,我尝试编译(使用 cython)的程序是 运行 就可以了。
它还使用 medpy,而且 运行 也很好。
但是现在,当我尝试安装 medpy 时,它只给我以下内容:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata
source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
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:/linux-64::__cuda==9.1=0
- feature:|@/linux-64::__cuda==9.1=0
Your installed CUDA driver is: 9.1
这是在安装 Anaconda3 版本 4.8.3 后的全新环境
然后
conda create -n py36 python=3.6.8
conda activate py36
conda install -c bioconda medpy
我这里真是一头雾水。我不明白为什么它不告诉我哪个包有问题。谁能帮忙?
此外,我发现 anaconda 附带了一个 Python 3.8
实例,我不需要它。默认情况下,它会替换 cython
的所有导入,即使我尝试在我的 py36
环境中安装 cython
(我正在使用 cmake 构建项目)。我有一种预感,这些问题是相互关联的...
我能够通过使用 pip3 install medpy
而不是尝试使用 conda
安装来解决我的问题。不确定那里的版本是否不同,但现在可以使用了。
https://pypi.org/project/MedPy/
希望这能帮助以后不再用头撞桌子的人 :)
我最近注意到我的机器上有一些陈旧的 anaconda 环境(Linux Mint 18.1,是的,我知道它很古老..) 因此,在摆弄了一段时间之后,我认为从头开始安装 Anaconda 是最简单的方法。但这是我的问题开始的地方: 我对我的 CUDA 有特定的版本要求是 9.0 或 9.1,我尝试编译(使用 cython)的程序是 运行 就可以了。 它还使用 medpy,而且 运行 也很好。 但是现在,当我尝试安装 medpy 时,它只给我以下内容:
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata
source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed
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:/linux-64::__cuda==9.1=0
- feature:|@/linux-64::__cuda==9.1=0
Your installed CUDA driver is: 9.1
这是在安装 Anaconda3 版本 4.8.3 后的全新环境 然后
conda create -n py36 python=3.6.8
conda activate py36
conda install -c bioconda medpy
我这里真是一头雾水。我不明白为什么它不告诉我哪个包有问题。谁能帮忙?
此外,我发现 anaconda 附带了一个 Python 3.8
实例,我不需要它。默认情况下,它会替换 cython
的所有导入,即使我尝试在我的 py36
环境中安装 cython
(我正在使用 cmake 构建项目)。我有一种预感,这些问题是相互关联的...
我能够通过使用 pip3 install medpy
而不是尝试使用 conda
安装来解决我的问题。不确定那里的版本是否不同,但现在可以使用了。
https://pypi.org/project/MedPy/
希望这能帮助以后不再用头撞桌子的人 :)