我已成功安裝PIL/Pillow for python 3.4
,但我希望它爲python 2.7
。我認爲它可能會自動下載2.7
以及當我從終端嘗試python外殼,它一直說No module named PIL
和No module named PILLOW
。我能做什麼?當我嘗試所有的安裝命令在其他的答案給出,它說:安裝PIL/Pillow for ubuntu python 2.7
Requirement already satisfied (use --upgrade to upgrade): pillow in ./.local/lib/python3.4/site-packages
我的問題是this
你怎麼安裝?我在Ubuntu存儲庫中看到兩個軟件包:'python-pil'和'python3-pil'。你有沒有嘗試安裝前者? – Anonymous