TensorFlow安装出错
2019-07-27 本文已影响0人
RossH
第一次报错
You are using pip version 19.0.3, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
按照提示运行更新pip。
第二次报错
ERROR: tensorboard 1.14.0 has requirement setuptools>=41.0.0, but you'll have setuptools 38.4.0 which is incompatible.
运行pip3 install --upgrade setuptools
,更新下setuptools。
第三次报错
ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
运行pip3 install -U --ignore-installed wrapt enum34 simplejson netaddr
即可解决。
最后运行pip3 install tensorflow
终于成功安装tensorflow。
花了一个早上,真是艰难。