pip安装报错'not a supported wheel on this platform'

这个错误很常见,解决方法是改名,首先要获得在你的机器的平台上的合法名称:

import pip
pip.pep425tags.get_supported()

结果可能如下:
pip安装报错'not a supported wheel on this platform'

上图的意思就是说对于python3.6(cp36)来说,合法的名字只能是这些,比如:
‘cp36_cp36m_macosx_10_12_x86_64.whl’
‘cp36_cp36m_macosx_10_12_intel.whl’
‘cp36_cp36m_macosx_10_12_fat64.whl’
等….

要是名字不对,修改下即可,然后pip install