当我尝试在virtualenv中的ubuntu服务器上安装PIL时,它会抛出此错误
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-3qvaiv6l/PIL
然而,我已经安装了枕头。即便如此,它也会在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.
这是什么情况,我该如何处理?
答案 0 :(得分:1)
最后我得到了答案。问题出现了,因为thewsgi.py文件没有以适当的方式拥有虚拟环境的python路径。