【发布时间】:2019-01-17 09:19:33
【问题描述】:
当我尝试创建环境时出现错误消息。 我已经安装了 Anaconda3,它与 python3.7 一起安装,并且我已经在我的 window10 机器上设置了环境变量。通过使用 jupyter notebook,我从事机器学习方面的工作。但我无法在其上导入 tensorflow 库。 所以我尝试安装一个环境。在我的 cmd 上我试过了
conda create -n tfp3.6 python=3.6
C:\>conda create -n tfp3.6 python=3.6
Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://repo.anaconda.com/pkgs/main/noarch/repodata.json.bz2>
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.
SSLError(MaxRetryError('HTTPSConnectionPool(host=\'repo.anaconda.com\', port=443): Max retries exceeded with url: /pkgs/main/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t connect to HTTPS URL because the SSL module is not available."))'))
这是我的环境变量 this is my environment variables
请帮忙。 提前谢谢
【问题讨论】:
-
可能是网络连接问题?
-
添加到@JoshFriedlander,您的网络可能会阻止 anaconda 存储库。如果您使用的是工作网络,则很有可能。
-
这听起来像是代理问题。如果您在工作网络上,他们是否有您需要连接的代理服务器?有关如何使其工作的提示,请参阅 Running conda with proxy。您需要从 IT 部门获取代理服务器信息。