I just used homebrew to install Python 2.7.2 on a clean Mac OS X Snow Leopard, but it seems to have problems getting PIP to work with it.
Here are the steps I took:
- Installed python with Homebrew:
brew install python --framework
--universal - Updated my paths in
.zsrc - Created a symlink from
/System/Library/Frameworks/Python.framework/Versions/Currentto/usr/local/Cellar/python/2.7.2/Frameworks/Python.framework/Versions/Current - Used
easy_installto installpip
These steps look as if they worked:
$ brew doctor
Your system is raring to brew.
$ which python
/usr/local/bin/python
$ python --version
Python 2.7.2
$ which easy_install
/usr/local/share/python/easy_install
$ which pip
/usr/local/bin/pip
However, when I try to install things using pip, for example $ pip install ipython, I get this error message'/System/Library/Frameworks/Python.framework/Versions/2.6/share': Permission denied
Why is the pip still trying to set the old location of Python 2.6? How can I set it for /usr/local/Cellar/python/2.7.2/etc.
source
share