torchaudio==0.7.2 PackagesNotFoundError: The following packages are not available from current chann

问题:安装torchaudio==0.7.2报错

PackagesNotFoundError: The following packages are not available from current channels:

  - torchaudio==0.7.2

安装torchaudio==0.7.2的详细报错日志:

(zsq) root@5q6mksee9v29j-0:~# conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1
Collecting package metadata (current_repodata.json): | WARNING conda.models.version:get_matcher(537): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.7.1.*, but conda is ignoring the .* and treating it as 1.7.1
done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): \ WARNING conda.models.version:get_matcher(537): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.6.0.*, but conda is ignoring the .* and treating it as 1.6.0
WARNING conda.models.version:get_matcher(537): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.9.0.*, but conda is ignoring the .* and treating it as 1.9.0
WARNING conda.models.version:get_matcher(537): Using .* with relational operator is superfluous and deprecated and will be removed in a future version of conda. Your spec was 1.8.0.*, but conda is ignoring the .* and treating it as 1.8.0
done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - torchaudio==0.7.2

Current channels:

  - http://mirrors.aliyun.com/anaconda/pkgs/main/linux-64
  - http://mirrors.aliyun.com/anaconda/pkgs/main/noarch
  - http://mirrors.aliyun.com/anaconda/pkgs/r/linux-64
  - http://mirrors.aliyun.com/anaconda/pkgs/r/noarch
  - http://mirrors.aliyun.com/anaconda/pkgs/msys2/linux-64
  - http://mirrors.aliyun.com/anaconda/pkgs/msys2/noarch
  - http://mirrors.aliyun.com/anaconda/cloud/conda-forge/linux-64
  - http://mirrors.aliyun.com/anaconda/cloud/conda-forge/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

错误背景: 配置conda虚拟环境,想要安装:

conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1

解决方案:

(zsq) root@5q6mksee9v29j-0:~# conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1 -c https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/linux-64
  • 2
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值