python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow

人工智能54

文章目录

版本兼容(适配)问题

这个大概就是因为tensorflow 还没有对最新版的python做出适配
错误大概是这样的:
python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow

; 再安装一个稍微旧一点的python版本

然后修改环境变量:

python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow

  • 可以在path变量做一下手动修改,将较新版本的路径注释掉(其实就是随便改动一下,使得较新版本python不会被启用(在命令行中输入python/pip)时启用的就是较旧版本的python
  • 当然,如果嫌麻烦,每次可以手动进入较旧版本的python中执行命令(比如pip)

检查降级情况

python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow
我这里成功从310降到379(python3.10.0->3.7.9)

; tensorflow 对python版本的适配情况

访问以下网址可能需要魔法:
使用 pip 安装 TensorFlow
以下情况截至2021.12:
python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow
我的python版本过于新,以至于找不到适配的tensorflow.

Original: https://blog.csdn.net/xuchaoxin1375/article/details/121973678
Author: xuchaoxin1375
Title: python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow

Original: https://blog.csdn.net/xuchaoxin1375/article/details/121973678
Author: xuchaoxin1375
Title: python_tensorflow安装失败:ERROR: Could not find a version that satisfies the requirement tensorflow

相关文章
Bayer到RGB,格式转换原理及具体实现 人工智能

Bayer到RGB,格式转换原理及具体实现

缘起 使用海康彩色相机,采集到的图像数据是Bayer GR8格式的,如果在相机参数中改为其它彩色格式,那就是相机内部完成格式转化,就会导致采集帧率变慢。一般情况下这种方式是简单实用的,但如果想要追求更...
带权重的有向图求最短路径 人工智能

带权重的有向图求最短路径

首先新建一个网图如下: 图的表示法有好多中,最常用的应该是邻接矩阵与邻接表。上面的图,边很少,用邻接表来表示就很不错。 对于以上图,可以对象出3个类。图、节点、边。3个实体类代码如下: 边Edge: ...
多任务学习-Multitask Learning概述zz 人工智能

多任务学习-Multitask Learning概述zz

1、单任务学习VS多任务学习 单任务学习:一次只学习一个任务(task),大部分的机器学习任务都属于单任务学习。 多任务学习:把多个相关(related)的任务放在一起学习,同时学习多个任务。 多任务...
TensorFlow推荐系统(二) 人工智能

TensorFlow推荐系统(二)

1 前言 读过 TensorFlow推荐系统(一)的朋友们应该还有印象,上回我们介绍的模型是信息检索(retrieval),而在推荐系统中还有另一个任务模型,即为信息排序(ranking)。在排序阶段...