普通PC機安裝MACOSX?
已成功卸載:
第一步:安裝pip,終端里sudo -i輸入密碼后,輸入easy_install pip:
1:~ root# easy_install pip
Searching for pip
Best match: pip 6.0.8
Adding pip 6.0.8 to easy-install.pth file
Installing pip script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3.4 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Installing pip3 script to /Library/Frameworks/Python.framework/Versions/2.7/bin
Using /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages
Processing dependencies for pip
Finished processing dependencies for pip
第二步:卸載pycrypto(我把輸入錯誤的命令也寫上來了,不要笑)
1:~ root# pip uninstall -r
Usage:
pip uninstall [options] <package> ...
pip uninstall [options] -r <requirements file> ...
-r option requires an argument
1:~ root# pip uninsatll -r pycrypto
ERROR: unknown command "uninsatll" - maybe you meant "uninstall"
1:~ root# pip uninstall -r pycrypto
Could not open requirements file: [Errno 2] No such file or directory: 'pycrypto'
1:~ root# pip unistall -y pycrypto
ERROR: unknown command "unistall" - maybe you meant "uninstall"
1:~ root# pip uninstall -y pycrypto
Uninstalling pycrypto-2.6.1:
Successfully uninstalled pycrypto-2.6.1