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?

link|improve this question

68% accept rate
feedback

2 Answers

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.

link|improve this answer
feedback

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

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

Your Answer

 
or
required, but never shown

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