今天在安装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 netaddr
sudo pip install tensorflow-gpu==1.14
参考文献
[1]. [python] 安装TensorFlow问题 解决Cannot uninstall 'wrapt'. It is a distutils installed project. https://www.cnblogs.com/conver/p/11141176.html