thotmos
May 20th, 2008, 05:03 PM
I'm starting to learn python, but I'm familiar with qt over c++
and after reading this tutorial http://wiki.python.org/moin/JonathanGardnerPyQtTutorial I find the calls very similar to
those in c++, so I decided to give it a try. when running the program though the following error came up.
sameh@desktop:~/dev/pyqt$ python at.py
Traceback (most recent call last):
File "at.py", line 3, in <module>
from at_auto import at_auto
File "/home/sameh/dev/pyqt/at_auto.py", line 10, in <module>
from PyQt4 import QtCore, QtGui
RuntimeError: the PyQt4.QtCore and qt modules both wrap the QObject class
is the program outdated or something is missing
and after reading this tutorial http://wiki.python.org/moin/JonathanGardnerPyQtTutorial I find the calls very similar to
those in c++, so I decided to give it a try. when running the program though the following error came up.
sameh@desktop:~/dev/pyqt$ python at.py
Traceback (most recent call last):
File "at.py", line 3, in <module>
from at_auto import at_auto
File "/home/sameh/dev/pyqt/at_auto.py", line 10, in <module>
from PyQt4 import QtCore, QtGui
RuntimeError: the PyQt4.QtCore and qt modules both wrap the QObject class
is the program outdated or something is missing