sprksh
sprksh

Reputation: 2404

raise ImportError 'PILKit was unable to import the Imaging Library'

when i try to install PIL on my ubuntu server in virtualenv it is throwing this error

 Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3qvaiv6l/PIL

however i have pillow installed. even then it is showing this error in error.logs

[Mon Mar 30 16:24:14.892127 2015] [:error] [pid 31004:tid 139913894803200] [client 122.167.116.201:57073]     raise ImportError('PILKit was unable to import the P$
$n Imaging Library. Please confirm it`s installed and available on your current Python path.

What is the case here and how should i proceed?

Upvotes: 1

Views: 2703

Answers (1)

sprksh
sprksh

Reputation: 2404

Finally i got the answer. the problem was occuring because thewsgi.py file was not having the python path for the virtual environment in appropriate way.

Upvotes: 1

Related Questions