微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

关于由于防火墙问题在本地执行 conda 安装的可能方法

如何解决关于由于防火墙问题在本地执行 conda 安装的可能方法

我试图在 anaconda 中安装 python 包,但它收到了 followign errow 消息。我认为这是因为我们的组织刚刚更新了我们的防火墙系统。有没有什么办法可以在本地使用conda install,比如下载anaconda相关的包,本地安装。如果可能,怎么做?谢谢。

(devenv) C:\>conda install -c conda-forge fbprophet
Collecting package Metadata (current_repodata.json): Failed
CondaHTTPError: HTTP 000 CONNECTION Failed for url <https://conda.anaconda.org/conda-forge/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.
'https://conda.anaconda.org/conda-forge/win-64'

解决方法

使用pip通过anaconda提示符安装 ref -

conda deactivate
conda activate <your_environment_name>
pip install fbprophet

同样根据返回的错误,建议重试。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。