UnsupportedWheel: matplotlib.xxx.whl is not a supported wheel on this platform解决方案
2017-08-28 09:53
501 查看
安装画图工具matplotlib时报错:
可在pip.log中查看报错日志:
出现这种情况,需要确认以下几点:
1. python的版本:2.7还是3.5或其他
2. 电脑版本:32位还是64位
3. pip是否过期
确认使用的python版本为2.7,电脑版本为64位后,尝试
后,安装matplotlib成功
Collecting python-dateutil (from matplotlib==2.0.2)
Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
42% |█████████████▌ | 81kB 31kB/s eta 0:00:04
47% |███████████████▏ | 92kB 33kB/s eta 0:00:
52% |████████████████▉ | 102kB 34kB/s eta 0:0
57% |██████████████████▋ | 112kB 37kB/s eta 0
63% |████████████████████▎ | 122kB 32kB/s eta
68% |██████████████████████ | 133kB 36kB/s et
73% |███████████████████████▋ | 143kB 38kB/s
79% |█████████████████████████▎ | 153kB 29kB/
84% |███████████████████████████ | 163kB 29kB
89% |████████████████████████████▊ | 174kB 28
94% |██████████████████████████████▍ | 184kB
100% |████████████████████████████████| 194k
B 28kB/s
Installing collected packages: six, cycler, functools32, pytz, pyparsing, numpy,
python-dateutil, matplotlib
Running setup.py install for functools32 ... done
Successfully installed cycler-0.10.0 functools32-3.2.3.post2 matplotlib-2.0.2 nu
mpy-1.13.1 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2017.2 six-1.10.0
UnsupportedWheel: matplotlib-2.0.2-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
可在pip.log中查看报错日志:
------------------------------------------------------------ C:\Python27\lib\site-packages\pip\__main__.py run on 08/28/17 09:46:01 matplotlib-2.0.2-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform. Exception information: Traceback (most recent call last): File "C:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main status = self.run(options, args) File "C:\Python27\lib\site-packages\pip\commands\install.py", line 257, in run InstallRequirement.from_line(name, None)) File "C:\Python27\lib\site-packages\pip\req.py", line 167, in from_line raise UnsupportedWheel("%s is not a supported wheel on this platform." % wheel.filename) UnsupportedWheel: matplotlib-2.0.2-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
出现这种情况,需要确认以下几点:
1. python的版本:2.7还是3.5或其他
2. 电脑版本:32位还是64位
3. pip是否过期
确认使用的python版本为2.7,电脑版本为64位后,尝试
python -m pip install --upgrade pip
后,安装matplotlib成功
Collecting python-dateutil (from matplotlib==2.0.2)
Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
42% |█████████████▌ | 81kB 31kB/s eta 0:00:04
47% |███████████████▏ | 92kB 33kB/s eta 0:00:
52% |████████████████▉ | 102kB 34kB/s eta 0:0
57% |██████████████████▋ | 112kB 37kB/s eta 0
63% |████████████████████▎ | 122kB 32kB/s eta
68% |██████████████████████ | 133kB 36kB/s et
73% |███████████████████████▋ | 143kB 38kB/s
79% |█████████████████████████▎ | 153kB 29kB/
84% |███████████████████████████ | 163kB 29kB
89% |████████████████████████████▊ | 174kB 28
94% |██████████████████████████████▍ | 184kB
100% |████████████████████████████████| 194k
B 28kB/s
Installing collected packages: six, cycler, functools32, pytz, pyparsing, numpy,
python-dateutil, matplotlib
Running setup.py install for functools32 ... done
Successfully installed cycler-0.10.0 functools32-3.2.3.post2 matplotlib-2.0.2 nu
mpy-1.13.1 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2017.2 six-1.10.0
相关文章推荐
- windows7 pip *.whl is not a supported wheel on this platform解决方案
- win7安装gevent时报错 whl is not a supported wheel on this platform.
- Python pip 安装包 *.whl is not a supported wheel on this platform.可能情况
- .whl is not a supported wheel on this platform的原因及其解决办法
- filename.whl is not supported wheel on this platform
- python中的lxml的安装+*.whl is not a supported wheel on this platform.
- python安装模块时显示*.whl is not a supported wheel on this platform.解决方法
- pandas-0.19.2-cp34-cp34m-win32.whl is not a supported wheel on this platform.
- pip安装**.whl遇到问题**.whl is not a supported wheel on this platform.
- whl is not a supported wheel on this platform.
- pip安装报错:is not a supported wheel on this platform
- [Python]Numpy安装及一些玄学问题(is not a supported wheel on this platform、Undefined variable from import)
- Python使用pip安装报错:is not a supported wheel on this platform的解决方法
- 解决lxml安装时“lxml-4.1.0-cp27-cp27m-win32.whl is not a support wheel on this platform”报错
- 使用pip安装tensorflow报错:tensorflow---- is not a supported wheel on this platform.
- pip安装报错:is not a supported wheel on this platform
- 记录python连接mysql数据库:python安装MySQL_Python时出现is not a supported wheel on this platform.
- pip安装显示 is not a supported wheel on this platform.
- windows下Python2与Python3共存的使用方法以及pip的使用方法以及pip安装报错:is not a supported wheel on this platform的处理方法
- pip安装报错:is not a supported wheel on this platform