简体   繁体   中英

HTTP error when installing pytorch

I use ubuntu14.04, without GPU. when I install pytorch in anaconda(I type command just as pytorch.org says),things always get wrong,like this:

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

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

I've tried many times, but every time error occurs in the same step. I'm looking forward your answers,thanks very very much for your help!!!

Please update to the latest version of Navigator.

Open a terminal (on Linux or Mac) or the Anaconda Command Prompt (on windows) and type

$ conda update anaconda-navigator

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM