python - 无法降级 TensorFlow
问题描述
我的 Mac 上有 Tensorflow 2,但我需要将其降级到 1.6.0,因为我使用的软件包需要该版本的 Tensorflow。我收到以下错误:
Collecting tensorflow==1.6.0
Could not find a version that satisfies the requirement tensorflow==1.6.0 (from versions: 1.13.0rc1, 1.13.0rc2, 1.13.1, 1.13.2, 1.14.0rc0, 1.14.0rc1, 1.14.0, 1.15.0rc0, 1.15.0rc1, 1.15.0rc2, 1.15.0rc3, 1.15.0, 2.0.0a0, 2.0.0b0, 2.0.0b1, 2.0.0rc0, 2.0.0rc1, 2.0.0rc2, 2.0.0)
No matching distribution found for tensorflow==1.6.0
可能是什么原因?
解决方案
你是如何安装张量流的?你在输入什么命令?试试下面的命令:
pip install tensorflow==1.6.0
推荐阅读
- python - 关于如何停止我的按钮点击 tkinter 的问题?
- python - 从熊猫数据框中将所有列放入单个系列中
- javascript - 使用 fs (javascript) 将数据写入文件时遇到问题
- python - 在 Pandas 中查看 Stata 变量标签
- java - Java中的数组列表和文本文件读取
- google-maps - 如何点击 googlemap pin
- r - 有什么方法可以在使用 R 传单包创建的交互式地图的表面上显示邮政编码?
- php - Magento 2:如何在尝试序列化结帐配置时找到导致错误“格式错误的 UTF-8 字符,可能编码不正确”的配置
- r - 为什么 ggpairs 函数中的散点图上没有黄土层?
- javascript - 有没有更好的方法来写“a == b?c:a”?