运行pip时,如何使用Tensorflow-gpu纠正setuptools版本错误?

时间:2018-09-15 11:56:00

标签: tensorflow pip

设置:Windows 10 Anaconda Cuda Cudann GPU设置。... 当我运行PIP时,会以红色显示此错误消息。这是否意味着我的软件包没有安装?我应该解决这个问题吗?如果可以,怎么办?我见过的大多数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

0 个答案:

没有答案