成功解决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

大功告成!


image.png




 


相关实践学习
基于阿里云DeepGPU实例,用AI画唯美国风少女
本实验基于阿里云DeepGPU实例,使用aiacctorch加速stable-diffusion-webui,用AI画唯美国风少女,可提升性能至高至原性能的2.6倍。
相关文章
|
11月前
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
“Could not find suitable distribution for Requirement.parse(‘XXXX‘)”的问题
210 0
|
29天前
|
Oracle 关系型数据库
The opatch minimum version check for patch failed
The opatch minimum version check for patch failed
11 2
|
9月前
|
存储 JSON 缓存
译 | Packages as layers, not groups
译 | Packages as layers, not groups
48 0
|
11月前
PackagesNotFoundError: The following packages are not available from current channels:
PackagesNotFoundError: The following packages are not available from current channels:
78 0
|
Python
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
137 0
《AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically》电子版地址
AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically
46 0
《AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically》电子版地址
|
TensorFlow 算法框架/工具
成功解决To fix this you could try to: 1. loosen the range of package versions you‘ve specified ​​​​​​​
成功解决To fix this you could try to: 1. loosen the range of package versions you‘ve specified ​​​​​​​
成功解决To fix this you could try to: 1. loosen the range of package versions you‘ve specified ​​​​​​​
成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h
成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h
成功解决ValueError: numpy.ufunc size changed, may indicate binary incompatibility. Expected 216 from C h
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
成功解决lightgbm.basic.LightGBMError: Parameter max_depth should be of type int, got “0.02“
|
开发工具
Warning! This package referenced a Flutter repository via the .packages file that is no longer avail
Warning! This package referenced a Flutter repository via the .packages file that is no longer avail
104 0
Warning! This package referenced a Flutter repository via the .packages file that is no longer avail