anaconda创建虚拟环境报错:
UnsatisfiableError:
Note that strict channel priority may have removed packages required for satisfiability.
解决方法:
conda config --remove-key channels
conda config --append channels conda-forge --append channels bioconda --append channels defaults

第二种报错:
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json>
Elapsed: -
An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.
If your current network has https://www.anaconda.com blocked, please file
a support request with your network engineering team.
'https://repo.anaconda.com/pkgs/main/win-64'

解决方法:
需要重新配置清华镜像源。
这篇博客介绍了在使用Anaconda创建虚拟环境时遇到的两种常见错误:UnsatisfiableError和CondaHTTPError。针对UnsatisfiableError,解决方案是运行指定的conda配置命令;对于CondaHTTPError,建议重新配置清华镜像源以解决网络问题。通过这些方法,可以有效地解决安装包不满足依赖性和HTTP连接失败的问题。
1767

被折叠的 条评论
为什么被折叠?



