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




 


相关实践学习
部署Stable Diffusion玩转AI绘画(GPU云服务器)
本实验通过在ECS上从零开始部署Stable Diffusion来进行AI绘画创作,开启AIGC盲盒。
相关文章
|
6月前
|
Oracle 关系型数据库
The opatch minimum version check for patch failed
The opatch minimum version check for patch failed
55 2
|
Python
Your requirements could not be resolved to an installable set of packages
Your requirements could not be resolved to an installable set of packages
8179 1
|
存储 JSON 缓存
译 | Packages as layers, not groups
译 | Packages as layers, not groups
71 0
PackagesNotFoundError: The following packages are not available from current channels:
PackagesNotFoundError: The following packages are not available from current channels:
117 0
《AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically》电子版地址
AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically
59 0
《AVPASS-Leaking-And-Bypassing-Anitvirus-Detection-Model-Automatically》电子版地址
|
Python
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
549 0
成功解决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“
|
算法
On the Correct and Complete Enumeration of the Core Search Space
在之前的文章中我们讨论了基于graph的DP-based算法,来解决join ordering的枚举问题。 这些DP算法通过join predicate描述的连通性,解决了枚举可能的表组合问题,但join graph本身(即使hypergraph)是无法完整的描述join语义的,因为连通边本身无法描述不同类型的join语义,例如left outer join/semi join/anti join...,因此即使找到了所谓的csg-cmp-pair,也不一定是有效的plan。 这篇paper讨论的就是这个问题,当枚举出一个csg-cmp-pair (S1 o S2),如何判断这是有效的join
446 0
On the Correct and Complete Enumeration of the Core Search Space
goods_type和disable_pay_channels和enable_pay_channels区别
说明:   为防止用户使用花呗分期套现,需要禁止使用花呗分期。如果商家在虚拟商品交易中使用花呗分期支付,一经发现关闭花呗分期权限。禁用花呗分期方法   注意:goods_type如果传值为0,信用卡渠道也是不可以使用的。
1202 12