美文网首页
TensorFlow安装出错

TensorFlow安装出错

作者: RossH | 来源:发表于2019-07-27 12:26 被阅读0次

第一次报错

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。
花了一个早上,真是艰难。

相关文章

网友评论

      本文标题:TensorFlow安装出错

      本文链接:https://www.haomeiwen.com/subject/nwntrctx.html