[英]conda fails to create environment
How can I fix the following problem in conda where it fails to create a new environment? 如何在无法创建新环境的conda中修复以下问题?
conda create --name snowflakes biopython 130 ↵
Fetching package metadata .........
Solving package specifications: .
Package plan for installation in environment /home/geoheil/.conda/envs/snowflakes:
The following NEW packages will be INSTALLED:
biopython: 1.68-np112py36_0
mkl: 2017.0.1-0
numpy: 1.12.0-py36_0
openssl: 1.0.2k-1
pip: 9.0.1-py36_1
python: 3.6.0-0
readline: 6.2-2
setuptools: 27.2.0-py36_0
sqlite: 3.13.0-0
tk: 8.5.18-0
wheel: 0.29.0-py36_0
xz: 5.2.2-1
zlib: 1.2.8-3
Proceed ([y]/n)? y
mkl-2017.0.1-0 100% |######################################################################| Time: 0:00:14 9.39 MB/s
numpy-1.12.0-p 100% |######################################################################| Time: 0:00:00 9.51 MB/s
biopython-1.68 100% |######################################################################| Time: 0:00:00 9.26 MB/s
ERROR conda.core.link:_execute_actions(330): An error occurred while installing package 'defaults::readline-6.2-2'.
CondaError: Cannot link a source that does not exist. /opt/anaconda/pkgs/readline-6.2-2/lib/libhistory.a
Attempting to roll back.
CondaError: Cannot link a source that does not exist. /opt/anaconda/pkgs/readline-6.2-2/lib/libhistory.a
Seems like somehow your package cache directory got corrupted. 好像您的程序包缓存目录已损坏。 It is not a fault with the package upstream, because https://repo.continuum.io/pkgs/free/linux-64/readline-6.2-2.tar.bz2 definitely contains that file. 这不是上游软件包的问题,因为https://repo.continuum.io/pkgs/free/linux-64/readline-6.2-2.tar.bz2肯定包含该文件。 Try: 尝试:
conda env remove -yn snowflakes
conda remove readline -y --force
conda clean --all -y
conda install readline -y
conda create -n snowflakes biopython
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.