天天看點

Uninstalling six-1.4.1:

在安裝virtualenvwrapper 的時候,報錯了

sudo pip install virtualenvwrapper
Installing collected packages: six, pbr, stevedore, virtualenvwrapper
  Found existing installation: six 
    DEPRECATION: Uninstalling a distutils installed project (six) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.
    Uninstalling six-:
Exception:
......
OSError: [Errno ] Operation not permitted: '/tmp/pip-edq21p-uninstall/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/six-1.4.1-py2.7.egg-info'
           

後來知道,mac本身帶的python庫是有問題的,重新安裝下python,再安裝就行了

brew install python