UnsupportedWheel: matplotlib.xxx.whl is not a supported wheel on this platform解决方案
来源:互联网 发布:淘宝宏鑫数码通讯 编辑:程序博客网 时间:2024/06/09 21:17
安装画图工具matplotlib时报错:
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:01matplotlib-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% |████████████████████████████████| 194kB 28kB/sInstalling collected packages: six, cycler, functools32, pytz, pyparsing, numpy, python-dateutil, matplotlib Running setup.py install for functools32 ... doneSuccessfully installed cycler-0.10.0 functools32-3.2.3.post2 matplotlib-2.0.2 numpy-1.13.1 pyparsing-2.2.0 python-dateutil-2.6.1 pytz-2017.2 six-1.10.0
阅读全文
0 0
- UnsupportedWheel: matplotlib.xxx.whl is not a supported wheel on this platform解决方案
- whl is not a supported wheel on this platform.
- matplotlib-2.1.0-none-cp35m-win_amd64.whl is not a supported wheel on this platform
- windows7 pip *.whl is not a supported wheel on this platform解决方案
- filename.whl is not supported wheel on this platform
- Pillow-3.4.2-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform解决办法
- python中的lxml的安装+*.whl is not a supported wheel on this platform.
- gevent-1.2.2-cp27-cp27m-win_amd64.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安装python库报错:Pillow-4.2.1-cp27-cp27m-win_amd64.whl is not a supported wheel on this platform.
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- Ubuntu安装tensorflow报错:tensorflow-xx.whl not a supported wheel on this platform
- 安装Sframe时出现:SFrame-2.1-cp27-none-win_amd64.whl is not supported wheel on this platform
- 成功解决安装scikit image出现‘is not a supported wheel on this platform’问题
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- pip安装报错:is not a supported wheel on this platform
- 冒泡排序(JAVA)
- Kotlin+JavaFx实战之密码管理器
- Jquery获取div的位置
- 卷积神经网络CNN-高级
- poj 1655 Balancing Act 求树的重心(详解树重心求法)
- UnsupportedWheel: matplotlib.xxx.whl is not a supported wheel on this platform解决方案
- 多个fragment 中使用setUserVisibleHint方法做UI判断的时候出现空指针的解决方法
- 【Java学习笔记】之数组
- leetcode 240. Search a 2D Matrix II
- Asp.Net 验证
- eclipse package,source folder,folder区别及相互转换
- OSI和TCP/IP
- Elasticsearch介绍(一)----基本概念
- layer弹出层关闭后刷新父页面