2014-03-07 3 views
4

내 OS X Lion 10.7.4에서 sudo easy_install pip을 사용한 경우 어떻게 제거합니까? 설치 후, 나 또한 여기에 pip install --upgrade setuptoolseasy_install을 사용하여 설치된 pip를 제거하는 방법은 무엇입니까?

는 출력했다 :

mac:~ usr$ sudo easy_install pip 
Password: 
Searching for pip 
Reading http://pypi.python.org/simple/pip/ 
Best match: pip 1.5.4 
Downloading https://pypi.python.org/packages/source/p/pip/pip-1.5.4.tar.gz#md5=834b2904f92d46aaa333267fb1c922bb 
Processing pip-1.5.4.tar.gz 
Running pip-1.5.4/setup.py -q bdist_egg --dist-dir /tmp/easy_install-b_hfrF/pip-1.5.4/egg-dist-tmp-o0r8F5 
warning: no files found matching 'pip/cacert.pem' 
warning: no files found matching '*.html' under directory 'docs' 
warning: no previously-included files matching '*.rst' found under directory 'docs/_build' 
no previously-included directories found matching 'docs/_build/_sources' 
Adding pip 1.5.4 to easy-install.pth file 
Installing pip script to /usr/local/bin  
Installing pip2.7 script to /usr/local/bin 
Installing pip2 script to /usr/local/bin  

Installed /Library/Python/2.7/site-packages/pip-1.5.4-py2.7.egg 
Processing dependencies for pip 
Finished processing dependencies for pip 

픽처 인 픽처 (easy_install을 설치) 심볼릭 링크 문제를 일으키는 I가 자신의 주사위를 설치합니다 brew install python를 수행 할 때/usr/지방/빈과 같이

lrwxr-xr-x 1 usr admin 30 3 3 23:26 pip -> ../Cellar/python/2.7.6/bin/pip 
lrwxr-xr-x 1 usr admin 31 3 3 23:26 pip2 -> ../Cellar/python/2.7.6/bin/pip2 
lrwxr-xr-x 1 usr admin 33 3 3 23:26 pip2.7 -> ../Cellar/python/2.7.6/bin/pip2.7 

난 그냥 brew link --overwrite python을 사용할 수 있습니다 알고 있지만 난 내가를 사용하지 않는 경우 내 시스템에있을 easy_install을 설치 핍을 좋아하지 않는다 티. 나는 나의 시스템을 깨끗하게 유지하는 것을 선호한다.

그 경고가 무엇인지 설명 할 수 있습니까? 나는 그들이 아무런 해를 끼치 지 않는다는 것을 알고 있지만 어떤 의존성이 없다면 나는 궁금하다.

감사합니다. this link에서

답변

0

는 :

의미
easy_install -mxN <PackageName> 

, 실행 :

easy_install -mxN pip 

그런 다음 수동으로 .../Python/2.7/site-packages/[PACKAGE].egg 어딘가에 있어야 .egg 파일이나 디렉토리를 제거 할 수 있습니다.

하지만 그렇게하지 않았습니다. 심지어 사용하지 않는 맥 :

또한 비슷한 질문 볼 수 있습니다

: PIP 제거 할 How do I remove packages installed with Python's easy_install?

6

사용 PIP :

sudo pip uninstall pip 
+0

이 비뚤어진 보이지만 작동을) – nimeshjm

관련 문제