安装anaconda配置tensorflow虚拟环境遇到的问题及解决办法
遇到的问题:
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
https://anaconda.org
and use the search bar at the top of the page.
解决方法:
1.在anaconda prompt(anaconda3)下输入以下命令: conda config --add channels conda-forge
2.再次配置tensorflow的虚拟环境,输入以下命令:conda create -n tensorflowbase python=3.8
借鉴:PackagesNotFoundError: The following packages are not available from current channels