tensorflow - 运行 pip 时,如何使用 Tensorflow-gpu 更正 setuptools 版本错误?
问题描述
设置:Windows 10 Anaconda Cuda Cudann GPU 设置......当我运行 PIP 时,我在 RED 中收到此错误消息。这是否意味着我的包没有安装?我应该解决这个问题吗?如果有怎么办?我见过的大多数 pip 命令都显示升级作为选项,但不降级?
谢谢
tensorflow-gpu 1.10.0 has requirement setuptools<=39.1.0, but you'll have setuptools 40.2.0 which is incompatible.
(tensorflow) C:\Users\johnc>python -m pip install --upgrade pip
Collecting pip
Downloading https://files.pythonhosted.org/packages/5f/25/e52d3f31441505a5f3af41213346e5b6c221c9e086a166f3703d2ddaf940/pip-18.0-py2.py3-none-any.whl (1.3MB)
100% |████████████████████████████████| 1.3MB 859kB/s
tensorflow-gpu 1.10.0 has requirement setuptools<=39.1.0, but you'll have setuptools 40.2.0 which is incompatible.
Installing collected packages: pip
Found existing installation: pip 10.0.1
Uninstalling pip-10.0.1:
Successfully uninstalled pip-10.0.1
Successfully installed pip-18.0
解决方案
推荐阅读
- r - ggplot2:重命名时列标签消失
- excel - 在 Excel VBA Basic 中使用 for 循环追加到数组
- excel - Excel VBA 在两个工作簿之间复制单元格
- mysql - 在我的存储过程中获取 ERROR 1064 (42000)
- javascript - 使用 appendChild 时,SortableJS 多拖不起作用
- lua - 将字符串类型时间转换为秒
- c# - 如何用正则表达式表示文本块?
- javascript - Angular 6 UI 在不使用父模板的情况下实现更改检测
- ios - 无法将播放器(iPhone 8 iOS 13.1)连接到 Visual Studio for Mac 2019
- c# - 具有可为空的 DateTime 和 DateAdd 的 OrmLite 条件