我尝试使用 pip 安装 tensorflow:
sudo pip install tensorflow
但它给出了以下错误:
.........
Installing collected packages: enum34, grpcio, pbr, funcsigs, mock, tensorflow
Found existing installation: enum34 1.1.2
Cannot uninstall 'enum34'. 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.
我尝试使用以下方法删除 enum34:
sudo apt remove enum34
但它似乎不起作用。
E: Unable to locate package enum34
知道如何解决这个问题吗?
答案1
这篇文章似乎帮助我卸载了 enum34: http://installion.co.uk/ubuntu/xenial/main/p/python-enum34/uninstall/index.html