在装anaconda最后一步遇到这个问题,查了网上的解决办法,一般都是用pip uninstall enum34
我试了说没有权限,于是前面加了 sudo,还是不行,所以有寻找另一种方法
注释 ~/.bashrc 里的PYTHONPATH和python2.7有关的,说是和anaconda 冲突了,具体看下面两个链接的解释:
https://blog.csdn.net/chang349276/article/details/89704025
https://www.uedbox.com/post/64990/
注释完了也没有用,直到我想更新pip时黑框里说了这段话我才恍然大悟
Perhaps your account does not have write access to this directory? If the
installation directory is a system-owned directory, you may need to sign in
as the administrator or "root" account. If you do not have administrative
access to this machine, you may wish to choose a different installation
directory, preferably one that is listed in your PYTHONPATH environment
variable.
于是我输入 sudo su 到了管理权限,再使用sudo pip uninstall enum34 卸载
再正常装anaconda就可以了