当前位置:   article > 正文

torchaudio==0.7.2 PackagesNotFoundError: The following packages are not available from current chann_warning conda.models.version:get_matcher(537): usi

warning conda.models.version:get_matcher(537): using .* with relational oper

问题:安装torchaudio==0.7.2报错

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

  - torchaudio==0.7.2
  • 1
  • 2
  • 3

安装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.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31

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

conda install pytorch==1.7.1 torchvision==0.8.2 torchaudio==0.7.2 cudatoolkit=10.1
  • 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
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/我家小花儿/article/detail/458726
推荐阅读
相关标签
  

闽ICP备14008679号