简体   繁体   中英

Installing Pillow on Python 2.7

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.

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

The cp36, indicates CPython 3.6, ie 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM