安装pytorch时出现HTTP错误

问题描述 投票:0回答:1

我使用ubuntu14.04,没有GPU。当我在anaconda中安装pytorch时(就像pytorch.org所说的那样输入命令),事情总是出错,就像这样:

------------------------------------------------------------
Fetching package metadata ...........
Solving package specifications: .

Package plan for installation in environment /home/zhanglu/anaconda3:

The following NEW packages will be INSTALLED:

    pytorch:     0.1.9-py36_2 soumith
    torchvision: 0.1.7-py36_1 soumith

The following packages will be UPDATED:

    conda:       4.3.8-py36_0         --> 4.3.13-py36_0

Proceed ([y]/n)? y

pytorch-0.1.9- 100% |################################| Time: 0:02:49   1.44 MB/s
pytorch-0.1.9- 100% |################################| Time: 0:05:52 692.97 kB/s
pytorch-0.1.9- 100% |################################| Time: 0:01:15   3.23 MB/s


CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None

An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)


CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None

An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)


CondaError: CondaHTTPError: HTTP None None for url <None>
Elapsed: None

An HTTP error occurred when trying to retrieve this URL.
ConnectionError(ReadTimeoutError("HTTPSConnectionPool(host='binstar-cio-packages-prod.s3.amazonaws.com', port=443): Read timed out.",),)

----------------------------------------------------------------

我已经尝试了很多次,但每次都在同一步骤中发生错误。我很期待你的回答,非常感谢你的帮助!

amazon-s3 pytorch
1个回答
0
投票

请更新到最新版本的Navigator。

打开终端(在Linux或Mac上)或Anaconda命令提示符(在Windows上)并键入

$ conda更新anaconda-navigator

© www.soinside.com 2019 - 2024. All rights reserved.