Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm using virtualenv to maintain a Python installation on Windows.

I want to install the popular PIL module, which comes as .exe. I run the .exe installer, but it tries to install to the regular Python folder and it doesn't give me any opportunity to change to the virtual environment.

What can I do?

share|improve this question

Have you tried, just letting it install, then copying the files into the virtual environment?

It appears that you can use the 'Open Archive' option of 7-Zip to open up the exe file. Why not try opening it up, extracting your files and place them in the appropriate location.

share|improve this answer

You can activate the virtualenv, the easy_install /path/to/exe

share|improve this answer
Is this possible with pip too? – Ram Rachum Oct 25 '11 at 11:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.