[英]Can't install Python Imaging Library using pip
尝试使用PIP安装Python映像库(PIL)时,安装失败,并显示以下错误:
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 16, in <module>
File "/tmp/pip_build_root/pil/setup.py", line 182
print "--- using Tcl/Tk libraries at", TCL_ROOT
有人还面临着同样的问题,但所提供的解决方案是为一个不同的库,对我没有工作。 在官方邮件列表中有一个旧条目(2003)讨论了问题,但没有提供解决方案,要求降级PIL并稍后提供修复(我不想降级)。
pip.log文件在这里提供: http ://pastebin.com/YeBLmMBm
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.