【发布时间】:2015-03-30 17:14:54
【问题描述】:
当我尝试在 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.
这是什么情况,我应该如何处理?
【问题讨论】:
-
似乎我得到的错误与这两个链接完全不同
-
首先安装 Pillow 而不是 Pill,然后您收到的错误是 Pillow 没有实际安装,您安装的输出是什么?
-
是的,我已经在我的 virtuaenv 中安装了 Pillow,并对其进行了交叉检查,这是输出:要求已经满足(使用 --upgrade 升级):Pillow in ./myenv/lib/python3.4/网站包
标签: django python-imaging-library pillow