安装anaconda配置pytorch虚拟环境遇到的问题及解决办法
PackagesNotFoundError: The following packages are not available from current channels:
python-3.8
Current channels:
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you’re
looking for, navigate to
and use the search bar at the top of the page.
解决方法:
1.在anaconda prompt(base)下输入以下命令: conda config --add channels conda-forge
2.再次配置pytorch的虚拟环境,输入以下命令:conda create -n pytorch python=3.8