http://blog.csdn.net/xdygzsxg/article/details/53885786
可能的原因2:這個是我遇到的情況(下載的是對應版本的庫,然後仍然提示不支持當前平臺)
我下載到的pillow庫文件名:
使用pip安裝(在命令行中):
報錯:*** is not a supported wheel on this platform,通過csdn上面一個帖子成功解決問題。
方法:在cmd後中輸入import pip; print(pip.pep425tags.get_supported())可以獲取到pip支持的文件名還有版本,我這裏如下:
C:\>python
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:18:55) [MSC v.1900 64 bit (AM
D64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pip
>>> print(pip.pep425tags.get_supported())
[('cp35', 'cp35m', 'win_amd64'), ('cp35', 'none', 'win_amd64'), ('py3', 'none',
'win_amd64'), ('cp35', 'none', 'any'), ('cp3', 'none', 'any'), ('py35', 'none',
'any'), ('py3', 'none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any')
, ('py32', 'none', 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]
>>>
通過這裏可以發現上面下載的文件名格式是不支持的,修改爲:Pillow-3.4.2-cp35-none-win_amd64.whl即可成功安裝。
(參考帖子網址:http://www.cnblogs.com/nice-forever/p/5371906.html)