[Pythonmac-SIG] Distutils for research?

Bob Ippolito bob at redivi.com
Tue Dec 13 22:31:44 CET 2005

On Dec 13, 2005, at 1:22 PM, Rob Managan wrote:

> Bob Ippolito gives a simple example of using setuptools to develop
> modules. That got me interested in installing setuptools. I followed
> the instructions for a non-admin OSX user and created a
> .pydistutils.cfg file to point to the site-packages is use with raw
> distutils stuff. Then I tried to use the ex-setup.py file to install
> setuptools and I get this error.
> Extracting setuptools-0.6a8-py2.4.egg to
> /Users/managan/Documents/local/lib/python2.4/site-packages
> Installing easy_install script to
> /Library/Frameworks/Python.framework/Versions/2.4/bin
> error:
> /Library/Frameworks/Python.framework/Versions/2.4/bin/easy_install:
> Permission denied
> Any idea why it is trying to write to
> /Library/Frameworks/Python.framework/Versions/2.4/bin ??
> I tried various -d -i options but could not get it to work right.

That's where scripts get installed ($PREFIX/bin).  You probably  
forgot to set install_scripts to something else in .pydistutils.cfg


More information about the Pythonmac-SIG mailing list