2017-02-12 1 views
0

Lorsque je tente d'installer Pillow (comme un fichier de roue)Installation d'oreiller sur Python 2.7

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

je reçois l'erreur suivante.

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

pourquoi vous installez 36? au lieu de 27? votre script python ressemble à 2.7 – orvi

+0

pourquoi ne pas simplement "pip installer oreiller" et en avoir fini avec –

Répondre

1

Vous avez un fichier de roue qui attend une version différente de Python.

Le cp36, indique CPython 3.6, c'est-à-dire Python 3.6. Vous utilisez Python 2.7.

soit à jour votre version Python, ou plus convenablement, obtenir un fichier de roue de la version correcte de PyPI https://pypi.python.org/pypi/Pillow/4.0.0