我爲我的Python(3.4.2)和Windows(32位)版本從http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil 下載了Pillow二進制文件。pip無法在Windows 7上安裝Image或Pillow庫
pip install Pillow-3.4.2-cp36-cp36m-win32.whl
失敗,下面的錯誤消息:
Pillow-3.4.2-cp36-cp36m-win32.whl is not a supported wheel on this platform.
調試日誌如下:
------------------------------------------------------------
C:\Python34\Scripts\pip run on 03/26/17 16:04:25
Pillow-3.4.2-cp36-cp36m-win32.whl is not a supported wheel on this platform.
Exception information:
Traceback (most recent call last):
File "C:\Python34\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "C:\Python34\lib\site-packages\pip\commands\install.py", line 257, in run
InstallRequirement.from_line(name, None))
File "C:\Python34\lib\site-packages\pip\req.py", line 167, in from_line
raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename)
pip.exceptions.UnsupportedWheel: Pillow-3.4.2-cp36-cp36m-win32.whl is not a supported wheel on this platform.
我在做什麼錯?
謝謝@Ben Richter。我得到了與pip3相同的錯誤信息。 – sm535