conda清华源安装cudatoolkit超时

  1. 问题描述
(py37torch11) chiyukunpeng@chiyukunpeng:~$ conda install pytorch==1.1.0 torchvision==0.3.0 cudatoolkit=9.0
Fetching package metadata .......
Solving package specifications: .

Package plan for installation in environment /home/chiyukunpeng/anaconda3/envs/py37torch11:

The following NEW packages will be INSTALLED:

    blas:         1.0-mkl                    https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    cffi:         1.14.2-py37he30daa8_0      https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    cudatoolkit:  9.0-h13b8566_0             https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    cudnn:        7.6.5-cuda9.0_0            https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    freetype:     2.10.2-h5ab3b9f_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    intel-openmp: 2020.2-254                 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    jpeg:         9b-h024ee3a_2              https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    lcms2:        2.11-h396b838_0            https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    libpng:       1.6.37-hbc83047_0          https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    libtiff:      4.1.0-h2733197_1           https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    lz4-c:        1.9.2-he6710b0_1           https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    mkl:          2020.2-256                 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    mkl-service:  2.3.0-py37he904b0f_0       https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    mkl_fft:      1.1.0-py37h23d657b_0       https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    mkl_random:   1.1.1-py37h0573a6f_0       https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    ninja:        1.10.0-py37hfd86e86_0      https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    numpy:        1.19.1-py37hbc911f0_0      https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    numpy-base:   1.19.1-py37hfa32c7d_0      https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    olefile:      0.46-py_0                  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    pillow:       7.2.0-py37hb39fc2d_0       https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    pycparser:    2.20-py_2                  https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    pytorch:      1.1.0-cuda90py37h8b0c50b_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    six:          1.15.0-py_0                https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    torchvision:  0.3.0-cuda90py37h6edc907_0 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main
    zstd:         1.4.5-h9ceee32_0           https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main

Proceed ([y]/n)? y

cudatoolkit-9. 100% |################################| Time: 0:11:42 508.10 kB/s
cudatoolkit-9. 100% |################################| Time: 0:05:21   1.11 MB/s
cudatoolkit-9. 100% |################################| Time: 0:02:32   2.34 MB/s

CondaError: CondaError: Downloaded bytes did not match Content-Length
  url: https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/cudatoolkit-9.0-h13b8566_0.tar.bz2
  target_path: /home/chiyukunpeng/anaconda3/pkgs/cudatoolkit-9.0-h13b8566_0.tar.bz2
  Content-Length: 356949623
  downloaded bytes: 225214125

CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/cudatoolkit-9.0-h13b8566_0.tar.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaError: CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64/cudatoolkit-9.0-h13b8566_0.tar.bz2>
Elapsed: -

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.


  1. 解决方案
    换源
(py37torch11) chiyukunpeng@chiyukunpeng:~/download$ conda install -c anaconda cudatoolkit==9.0
Fetching package metadata .........
Solving package specifications: .

Package plan for installation in environment /home/chiyukunpeng/anaconda3/envs/py37torch11:

The following NEW packages will be INSTALLED:

    cudatoolkit: 9.0-h13b8566_0 anaconda

Proceed ([y]/n)? y
cudatoolkit-9. 100% |#############################################################################| Time: 0:00:35  10.14 MB/s
  • 3
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 4
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值