Remove the Python 2.7 framework
sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7
Remove the Python 2.7 applications directory
sudo rm -rf "/Applications/Python 2.7"
Remove the symbolic links in
/usr/local/bin
that point to this Python version seels -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7'
and then run the following command to remove all the links:cd /usr/local/bin/ ls -l /usr/local/bin | grep '../Library/Frameworks/Python.framework/Versions/2.7' | awk '{print $9}' | tr -d @ | xargs rm
If necessary, edit your shell profile file(s) to remove adding
/Library/Frameworks/Python.framework/Versions/2.7
to yourPATH
environment file. Depending on which shell you use, any of the following files may have been modified:~/.bash_login
,~/.bash_profile
,~/.cshrc
,~/.profile
,~/.tcshrc
, and/or~/.zprofile
.
'IT' 카테고리의 다른 글
그냥 손전등 개인정보처리방침 (0) | 2017.02.03 |
---|---|
Mac에 anaconda, tensorflow 설치 (0) | 2017.01.04 |
우분투에서 노드 쉽고 깔끔하게 설치하기 - nvm 이용 (0) | 2016.11.18 |
중고나라 알림 & 끌어올리기 앱. 중GO! (0) | 2016.10.21 |
Angular2 강의 메모 (0) | 2016.10.17 |