Created
June 24, 2011 14:32
-
-
Save AndrewIngram/1044878 to your computer and use it in GitHub Desktop.
How to get Python working properly on a Mac
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Install Xcode 4 | |
2. Install homebrew. | |
3. brew install python --framework | |
4. brew install libjpeg (for PIL) | |
5. sudo unlink /System/Library/Frameworks/Python.framework/Versions/Current | |
6. sudo ln -s /usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current /System/Library/Frameworks/Python.framework/Versions/Current | |
7. nano ~/.bash_profile | |
8. add: export PATH=/usr/local/share/python:/usr/local/bin:$PATH | |
9. source ~/.bash_profile (or you can load a new terminal window) | |
10. easy_install pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment