安装pytorch

时间:2017-03-03 04:25:53

标签: amazon-s3 pytorch

我使用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.",),)

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

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

1 个答案:

答案 0 :(得分:0)

请更新到最新版本的Navigator。

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

$ conda update anaconda-navigator