ubuntu 18.04 Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accura

网友投稿 311 2022-08-26

ubuntu 18.04 Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accura

今天在安装tensorflow-gpu版本的时候,出现了下面的错误:

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.

我的命令为:

sudo pip install tensorflow-gpu==1.14

这个错误导致我的tensorflow-gpu版本无法正常安装。

解决方法

sudo pip install --ignore-installed wrapt enum34 simplejson netaddrsudo pip install tensorflow-gpu==1.14

参考文献

[1]. [python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project.​

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:纸片人再攻一城,国漫营销能有多吸睛?
下一篇:ubuntu 16.04 http://ppa.launchpad.net/fcitx-team/nightly/ubuntu/dists/xenial/main/binary-amd64/Packa
相关文章

 发表评论

暂时没有评论,来抢沙发吧~