ubuntu15.06安装PyQt5(python2.7)出错
来源:互联网 发布:三菱plc编程手册哪里有 编辑:程序博客网 时间:2024/05/21 17:16
安装步骤参考 http://blog.csdn.net/tao_627/article/details/46499545
最后一步:
运行python helloworld.py出错:
Traceback (most recent call last):
File "helloworld.py", line 5, in <module>
from PyQt5 import QtCore, QtGui, QtWidgets
RuntimeError: the sip module implements API v11.0 to v11.1 but the PyQt5.QtCore module requires API v11.3
在命令行输入:
$ python
>>>import sip
>>>print(sip, sip.SIP_VERSION_STR)
(<module 'sip' from '/usr/lib/python2.7/dist-packages/sip.x86_64-linux-gnu.so'>, '4.16.6')
解决办法:
删除/usr/lib/python2.7/dist-packages/sip.x86_64-linux-gnu.so
0 0
- ubuntu15.06安装PyQt5(python2.7)出错
- Ubuntu15 安装VMtools 出错问题解决
- python2.7.13 + pyqt5 自编译安装步骤
- 如何解决python2.7x 版本的安装出错问题
- python2.7 安装pypcap出错 pcap.h not found
- ubuntu15安装imod出错;丢失libtiff.so.3解决
- ubuntu15.04安装配置jdk1.7
- Python2.7绿色安装
- centos安装python2.7
- centos 安装python2.7
- linux 安装 python2.7
- CentOS6 安装 Python2.7
- centos 安装python2.7
- Python2.7安装教程
- python2.7源码安装
- 安装python2.7
- python2.7安装 matplotlib
- python2.7安装
- LG的数学计划----分解质因数(Pollard-Rho算法)
- C语言中strlen、strcpy、strncpy、strcat、strnact、strcmp、memcpy函数的实现
- Spring1
- 第三周项目3-求集合并集
- 【codevs1200】 NOIP2012—同余方程
- ubuntu15.06安装PyQt5(python2.7)出错
- cowboy 里不能创建mnesia 的问题。
- [省赛复习] 带权并查集
- 关于Struts中Action映射的解释
- react从入门到深入的教程、工具
- 经典dp最长递增子序列
- html js 定制进度条 (一)
- Flume NG 编程实践
- HDU 1005 Number Sequence 找循环区间的长度