[Pythonmac-SIG] Python 2.5 and easy_install

Hamish Allan hamish at gmail.com
Tue Feb 13 07:37:41 CET 2007


Hi,

I just installed Python 2.5 on my Intel OS X machine, and it seems to
work fine. Now I need to go about installing the packages I had on
2.4. I downloaded ez_setup.py and it installed easy_install. However,
when I run easy_install (the first one I tried was "easy_install pyx")
I get:

[...]
Running PyX-0.9/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-SNJlRm/PyX-0.9/egg-dist-tmp-p6tWhV
error: Setup script exited with error: SandboxViolation:
mkdir('/Library/Frameworks/Python.framework/Versions/2.5/share',) {}

If I create the directory manually, it fails at the next step:

error: Setup script exited with error: SandboxViolation:
mkdir('/Library/Frameworks/Python.framework/Versions/2.5/share/pyx',)
{}

This was never a problem for 2.4 on my machine. Can I change something
to make it work?

Thanks,
Hamish


More information about the Pythonmac-SIG mailing list