[Distutils] ez_setup doesn't finish partial install

Phillip J. Eby pje at telecommunity.com
Wed Jul 13 00:42:17 CEST 2005

At 03:06 PM 7/12/2005 -0500, Nicholas Riley wrote:
>I was trying to install setuptools, and I ended up running into a
>permissions error:
>% MACOSX_DEPLOYMENT_TARGET=10.4 python ez_setup.py
>Processing setuptools-0.5a11-py2.3.egg
>Copying setuptools-0.5a11-py2.3.egg to 
>Adding setuptools 0.5a11 to easy-install.pth file
>Installing easy_install.py script to 
>Permission denied
>So I fixed permissions and tried again:
>% MACOSX_DEPLOYMENT_TARGET=10.4 python ez_setup.py
>Setuptools successfully installed or upgraded.
>But after the above, I still don't have an easy_install.py script.  I
>had to delete the easy-install and setuptools .egg and .pth files from
>/Library/Python/2.3/site-packages to get it to install

FYI, you can run "ez_setup -U setuptools" to force an 
upgrade/reinstall.  I've added a message about this after the "installed or 
upgraded" message, that will appear in the next release.

More information about the Distutils-SIG mailing list