Installing packages on Mac OS X 10.7.5

Hans Mulder hansmu at
Thu Dec 6 02:07:23 CET 2012

On 6/12/12 00:56:55, Irmen de Jong wrote:
> On 6-12-2012 0:12, John Dildy wrote:
>> I have python v2.7.1 and I am trying to install packages on the Mac OS X v10.7.5
>> I am trying to install:
>> Distribute
>> Nose
>> virtualenv
>> If anyone can help me that would be great
> Avoid changing stuff on the system installed python.


> If you don't have virtualenv already, I would suggest to either:
> - install virtualenv by means of easy_install (which should be installed already)
> - do everything else in a virtual env, instead of in the system installed python directly
> Or install homebrew, then brew install python, and use that. This avoids using the
> system installed python entirely.

Or simply download Python 2.7.3 from and install that.

The Mac OSX installers from leave the system Python
alone and install a separate copy of Python under /Local/.

Or you could use MacPorts, which will install into /opt/local/.

Or you could get really fancy, and install a Python from
or homebrew or MacPorts, and then user virtualenv to avoid messing up
that Python.

The one thing you want to avoid is messing with the system Python.

Hope this helps,

-- HansM

More information about the Python-list mailing list