Can Not Pip Install PIL In A Virtualenv In Windows Because Of Warning And ValueError
I am trying to install PIL in a virtualenv but have failed. I created a brand new virtualenv and did pip install PIL and got the following C:\Users\s3z\Desktop\My Dropbox\pythons\h
Solution 1:
Installing PIL on windows with PIP gives me issues, but using easy_install works fine.
"c:\VirtualENV \ easy_install PIL"
Solution 2:
PIL is a library which has some parts written in C, and requires Microsoft Visual C++ to compile and build a complete package. From the error message, it could not find path to Microsoft Visual C++.
If you want to install from source (via PIP), you can follow instructions in this blog
An easier way, to use PIL inside virtualenv, is to install a pre-compiled binary from PythonWare to your Python site-package directory.
Then recreate your virtualenv with options virtualenv --system-site-packages ENV
Your virtualenv will inherits package from global site-package.
Post a Comment for "Can Not Pip Install PIL In A Virtualenv In Windows Because Of Warning And ValueError"