问题全局描述:意思也就是当前镜像没有这个包,需要去官网看一看。
我参考这位博主的文章,他的比较全面,可以先看看。https://blog.csdn.net/weixin_45552562/article/details/109668589
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- torchaudio
Current channels:
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/linux-64
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/noarch
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/linux-64
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/pro/noarch
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/linux-64
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/noarch
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64
- http://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch
- https://conda.anaconda.org/conda-forge/linux-64
- https://conda.anaconda.org/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、采取了去官网https://anaconda.org的搜索栏去搜索缺少的torchaudio,会出现这个包的位置
2、复制命令去你的shell,一般就成功了,torchaudio是我当前需要的包的名字,根据你的问题去更改包的名字
conda install -c pytorch torchaudio