0

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

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

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

4

1 回答 1

0

请更新到最新版本的 Navigator。

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

$ conda 更新 anaconda-navigator

于 2017-12-22T09:00:39.390 回答