成功解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo
目录
解决问题
解决思路
解决方法
解决问题
conda install ‐‐channel https://conda.anaconda.org/anaconda tensorflow‐gpu=1.9.0 Collecting package metadata (current_repodata.json): done Solving environment: failed with current_repodata.json, will retry with next repodata source. Collecting package metadata (repodata.json): done Solving environment: failed PackagesNotFoundError: The following packages are not available from current channels:
- tensorflow‐gpu=1.9.0 - ‐‐channel - //conda.anaconda.org/anaconda
Current channels: - https://repo.anaconda.com/pkgs/main/linux-64 - https://repo.anaconda.com/pkgs/main/noarch - https://repo.anaconda.com/pkgs/r/linux-64 - https://repo.anaconda.com/pkgs/r/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.
解决思路
解决环境:当前的repodata.json失败,将使用下一个repodata源重试。 收集包元数据(repodata.json):完成 求解环境:失败 包未找到错误 :以下包不能从当前频道使用: - tensorflow‐gpu=1.9.0 - ‐‐channel - //conda.anaconda.org/anaconda 当前频道: -https://repo.anaconda.com/pkgs/main/linux-64 -https://repo.anaconda.com/pkgs/main/noarch -https://repo.anaconda.com/pkgs/r/linux-64 -https://repo.anaconda.com/pkgs/r/noarch 要搜索可能提供您要查找的Conda软件包的备用频道,请导航到https://anaconda.org,并使用页面顶部的搜索栏。
解决方法
下载的地址错误,原先方法不好用,更改下载命令即可!
pip install tensorflow-gpu==1.9.0
大功告成!