[英]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.