【发布时间】:2019-04-06 11:02:09
【问题描述】:
当我在控制台中输入时:
conda install pytorch torchvision cudatoolkit=9.0 -c pytorch
安装 PyTorch 时,我收到 CondaHTTP 错误。我已经重新安装了 conda 并没有改变安装路径,但没有任何改变。我也尝试在没有 CUDA 的情况下安装它,但没有帮助。
我得到这个输出:
C:\Users\lennert>conda install pytorch torchvision cudatoolkit=9.0 -c
pytorch Solving environment: failed
CondaHTTPError: HTTP 000 CONNECTION FAILED for url
<https://repo.anaconda.com/pkgs/free/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/free/noarch/repodata.json.bz2 (Caused by SSLError("Can\'t
connect to HTTPS URL because the SSL module is not available."))'))
还有其他安装 PyTorch 的方法吗?我读到我可以安装 conda 的离线包,但不知道如何。
【问题讨论】:
标签: windows deep-learning conda