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

文章目录

版本兼容(适配)问题

这个大概就是因为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

原创文章受到原创版权保护。转载请注明出处:https://www.johngo689.com/626008/

转载文章受原作者版权保护。转载请注明原作者出处!

(0)

大家都在看

亲爱的 Coder【最近整理,可免费获取】👉 最新必读书单  | 👏 面试题下载  | 🌎 免费的AI知识星球