成功解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo
成功解決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大功告成!
?
?
?
?
?
?
?
總結
以上是生活随笔為你收集整理的成功解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 成功解决./nvidia-install
- 下一篇: 成功解决VM虚拟机内This compu