成功解决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盲盒。
相关文章
|
8月前
|
网络安全 Python Windows
pyspark--完美解决 Could not find a version that satisfies the requirement 安装包名字 (from versions: )
pyspark--完美解决 Could not find a version that satisfies the requirement 安装包名字 (from versions: )
449 9
|
8月前
|
C语言 计算机视觉
opencv 编译objects.a(vs_version.rc.obj)‘ is incompatible with i386:x86-64 output
opencv 编译objects.a(vs_version.rc.obj)‘ is incompatible with i386:x86-64 output
63 0
|
8月前
|
Oracle 关系型数据库
The opatch minimum version check for patch failed
The opatch minimum version check for patch failed
69 2
|
存储 JSON 缓存
译 | Packages as layers, not groups
译 | Packages as layers, not groups
80 0
PackagesNotFoundError: The following packages are not available from current channels:
PackagesNotFoundError: The following packages are not available from current channels:
136 0
|
Python
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
解决办法:RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96
579 0
|
程序员
dlib库安装失败 PackagesNotFoundError: The following packages are not available from current channels解决办法
dlib库安装失败 PackagesNotFoundError: The following packages are not available from current channels解决办法
|
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 ​​​​​​​
|
算法
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
470 0
On the Correct and Complete Enumeration of the Core Search Space
成功解决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“