[Distutils] easy_install -U setuptools fails on Windows (workaround)

Brad Clements bkc at murkworks.com
Wed Nov 16 21:19:08 CET 2005


On 16 Nov 2005 at 14:24, Phillip J. Eby wrote:

> these issues.  You can update your setuptools with:
> 
>      easy_install -U setuptools
> 

Except on windows, the easy_install binary is in-use:

E:\>easy_install -U setuptools
Searching for setuptools
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools 0.6a8
Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.6a8-py2.4.egg#md5=799018f2894f14c9f8bcb2b34e69b391
Processing setuptools-0.6a8-py2.4.egg
creating d:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg
Extracting setuptools-0.6a8-py2.4.egg to d:\python24\lib\site-packages
Removing setuptools 0.6a6 from easy-install.pth file
Adding setuptools 0.6a8 to easy-install.pth file
Installing easy_install-script.py script to d:\python24\Scripts
Installing easy_install.exe script to d:\python24\Scripts
error: d:\python24\Scripts\easy_install.exe: Permission denied

(now copy easy_install .exe and .py to a temp location)

E:\>f:\temp\easy_install.exe -U setuptools
Searching for setuptools
Reading http://www.python.org/pypi/setuptools/
Reading http://peak.telecommunity.com/DevCenter/setuptools
Best match: setuptools 0.6a8
Downloading http://cheeseshop.python.org/packages/2.4/s/setuptools/setuptools-0.
6a8-py2.4.egg#md5=799018f2894f14c9f8bcb2b34e69b391
Processing setuptools-0.6a8-py2.4.egg
removing 'd:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg' (and everything under it)
creating d:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg
Extracting setuptools-0.6a8-py2.4.egg to d:\python24\lib\site-packages
setuptools 0.6a8 is already the active version in easy-install.pth
Installing easy_install-script.py script to d:\python24\Scripts
Installing easy_install.exe script to d:\python24\Scripts

Installed d:\python24\lib\site-packages\setuptools-0.6a8-py2.4.egg
Processing dependencies for setuptools




-- 
Brad Clements,                bkc at murkworks.com    (315)268-1000
http://www.murkworks.com                          
AOL-IM or SKYPE: BKClements




More information about the Distutils-SIG mailing list