On Sunday 19 January 2014, 02:10:10 Hans Schmidt wrote: > Hello, > > I tried to do this, but it does not work (at least not as in the > tutorial). I started from my already existing PyQt4 installation and > then proceeded with steps 4 to 8. > > When trying to open eric5.bat, it does not do anything. > When I open a Python interpreter and try to import QtGui, it gives me > the following: > > Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:03:43) [MSC v.1600 32 > bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more > information. > > >>> from PyQt4 import > > QtGui > Traceback (most recent call > last): > File "<stdin>", line 1, in > <module> > ImportError: DLL load failed: %1 ist keine zulässige > Win32-Anwendung. > > >>> from PyQt5 import > > QtGui > Traceback (most recent call > last): > File "<stdin>", line 1, in > <module> > ImportError: DLL load failed: %1 ist keine zulässige > Win32-Anwendung.
That is strange. Everything works on my computer over here; eric5 ok, the above given PyQt4 import ok and the PyQt5 import executed in a second Python command window ok. Importing both in the same interpreter fails as expected. > > Am 19.01.2014 02:01, schrieb Detlev Offenbach: > > That is right. However, the qt.conf file is in PyQt4 and PyQt5 > > directory and each contains the paths to the Qt librarys (that is one > > contains PyQt4, the other PyQt5). Works fine on my maschine. > > > > > > > > Phil, please just try it. If you find issues that crash one or the > > other installation, I will shut up and never mention this again. > > However, at the moment I am not convinced that there is a show stopper. > > _______________________________________________ > Eric mailing list > [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/eric-- *Detlev Offenbach* [email protected]
_______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
