Alex Rivera | Logout

easy_install.exe Permission Denied on Windows 8

Asked 2013-07-11T18:43:41.037
8

Running command prompt as an administrator I try to run:

easy_install -U setuptools

It returns the following:

Searching for setuptools
Reading https://pypi.python.org/simple/setuptools/
Reading http://peak.telecommunity.com/snapshots/
Reading https://pypi.python.org/pypi/setuptools
Best match: setuptools 0.8
Processing setuptools-0.8-py2.7.egg
setuptools 0.8 is already the active version in easy-install.pth
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
error: C:\Python27\Scripts\easy_install.exe: Permission denied

I've spent the past few hours scouring the internet for possible solutions. I've tried messing with the UAC settings and have them set to Never Notify. Yet, I'm still getting this permission denied error.

Edit
Report

1 Answer

12

You can read the solution here.

Run the install.
After the error copy the easy_install .exe and .py to a temp dir (i.e. c:\temp).
Run the install again from there.

On windows, the easy_install binary is in-use during install so it can't overwrite itself. (Easy_install itself is part of the setuptools you're trying to install with itself ;)

answered 2013-07-16T22:05:17.537

Your Answer