virtualenv under Win7: easy_install fails in virtual environments

Guillermo guillermo.listas at googlemail.com
Sun Oct 25 15:47:41 EDT 2009


Hi,

I've installed setuptools for my default python installation and it
works perfectly without even asking for admin credentials to install
packages.

After that I've installed virtualenv.

If I do:

>>> virtualenv x

... a new virtual environment is created, but whenever I try to run
easy_install within the new virtual environment, I'm prompted to enter
my admin password (I'm running as "Power User" normally) and
easy_install fails complaining that "Can't find D:/correct/path/to/
virtualenv/Scripts/python.exe". This path is private to my normal, non-
admin account.

It also fails if I'm running as an administrator and perform the same
steps.

I've tried runas to no avail too.

Is this a known issue?

Regards,
Guillermo



More information about the Python-list mailing list