最近项目进行算法迁移,从matlab迁移到python,安装显示matplotlib-2.1.0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform错误。
>>> import pip
>>> print(pip.pep425tags.get_supported())
[('cp35', 'none', 'win_amd64'), ('cp35', 'none', 'any'), ('cp3', 'none', 'any'),
('cp34', 'none', 'any'), ('cp33', 'none', 'any'), ('cp32', 'none', 'any'), ('cp
31', 'none', 'any'), ('cp30', 'none', 'any'), ('py35', 'none', 'any'), ('py3', '
none', 'any'), ('py34', 'none', 'any'), ('py33', 'none', 'any'), ('py32', 'none'
, 'any'), ('py31', 'none', 'any'), ('py30', 'none', 'any')]
发现我的平台只支持 cp35-none-win_amd64格式, 修改文件名为:matplotlib-2.1.0-cp35-none-win_amd64.whl 即可安装成功。 其他类似错误都可以这么解决。