Installing Pillow on Python 2.7

╄→尐↘猪︶ㄣ 提交于 2019-12-12 01:45:16

问题


When I try to install Pillow (as a wheel file)

C:\Python27\Scripts>pip install C:\Users\karth\Desktop\Pillow-3.4.2-cp36-cp36m-win_amd64.whl

I get the following error.

Pillow-3.4.2-cp36-cp36m-win_amd64.whl is not a supported wheel on this platform.

回答1:


You have a wheel file which is expecting a different Python version.

The cp36, indicates CPython 3.6, i.e. Python 3.6. You are running Python 2.7.

Either update your Python version, or more suitably, get a wheel file of the correct version from PyPi https://pypi.python.org/pypi/Pillow/4.0.0



来源:https://stackoverflow.com/questions/42192775/installing-pillow-on-python-2-7

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!