[Solved]Confusing HTTP error when installing pytorch

I use ubuntu14.04, with CPU.
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 
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 
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 
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 this same step.
I’m looking forward your answers,thanks very very much for your help!!!

Solved, just rebooting makes it right…:joy:

I am getting this error when I use conda to install magma-cuda80. Reboot does not help me. Is there any alternative way to install magma-cuda80?

If you are in China, maybe you can try tuna’s mirror of anaconda, s3 is not stable for Chinese developers.

conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
1 Like

Thanks @chenyuntc, it is true that s3 is not stable. And unfortunately tuna channel doesn’t have the magma-cuda80 package :joy:

what do you to slove the problem about magma-cuda80 package?

Though i reboot,can not solve the problem.

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