Python importerror: pyqtconfig

I am trying to install and start Eric4. I get the following error message when I try to open Eric after installation. Can someone please let me know how to proceed?

-------------------------------------------------------------------------------- 2013-07-31, 15:18:59 -------------------------------------------------------------------------------- <type 'exceptions.ImportError'>: cannot import name pyqtconfig -------------------------------------------------------------------------------- File "C:\Python27\Lib\site-packages\eric4\eric4.py", line 295, in <module> main() File "C:\Python27\Lib\site-packages\eric4\eric4.py", line 207, in main Startup.setLibraryPaths() File "C:\Python27\Lib\site-packages\eric4\Utilities\Startup.py", line 195, in setLibraryPaths from PyQt4 import pyqtconfig -------------------------------------------------------------------------------- Version Numbers: Python 2.7 Qt 4.8.4 PyQt4 4.10.2 sip 4.14.7 QScintilla 2.7.2 eric4 4.5.8 (r4410) Platform: win32 2.7 (r27:82525, Jul 4 2010, 09:01:59) [MSC v.1500 32 bit (Intel)] 

Thank you so much

+2
source share
1 answer

Sorry for my poor English. After some googling, I found that in Pyqt 4.10 and above, pyqtconfig.py seems remote. Check out http://pyqt.sourceforge.net/Docs/PyQt4/build_system.html#module-PyQt4.pyqtconfig

I added the pyqtconfig.py and sipconfig.py files from the Internet.

After that Eric4 begins (with some errors). Not yet done a lot of operations in the editor.

+2
source share

All Articles