求Python高手解决 ImportError: No module named PyQt4
我用PYQt做的界面1、pythn版本:python2.7.12、PYQT版本:PyQt-Py2.7-x86-gpl-4.8.2-13、windows环境变量:Path=...
我用PYQt做的界面
1、pythn版本:python2.7.1
2、PYQT版本:PyQt-Py2.7-x86-gpl-4.8.2-1
3、windows环境变量:
Path=E:\PYQt\python2.7.1\Lib\site-packages\PyQt4\bin;E:\Python\python2.7.1;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYM;
我现在的问题就是双击.py运行不了,在IDLE里运行报错:from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4
求解决方法,谢谢啦
我的是python2.7.1,我问题里说到了的啊... 展开
1、pythn版本:python2.7.1
2、PYQT版本:PyQt-Py2.7-x86-gpl-4.8.2-1
3、windows环境变量:
Path=E:\PYQt\python2.7.1\Lib\site-packages\PyQt4\bin;E:\Python\python2.7.1;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYM;
我现在的问题就是双击.py运行不了,在IDLE里运行报错:from PyQt4 import QtCore, QtGui
ImportError: No module named PyQt4
求解决方法,谢谢啦
我的是python2.7.1,我问题里说到了的啊... 展开
3个回答
展开全部
2.5之前的版本是不包含hashlib的,你需要自己安装
This is a stand alone packaging of the hashlib library included with Python 2.5 so that it can be used on older versions of Python (tested on 2.3 and 2.4).
This is a stand alone packaging of the hashlib library included with Python 2.5 so that it can be used on older versions of Python (tested on 2.3 and 2.4).
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
环境变量中第一个地址不对吧,应该是E:\Python\python2.7.1\Lib\site-packages\PyQt4\bin
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询