Hello forum,
I am having problems getting the "qt" module to load in python2.7 in Kubuntu 14.4 (Trusty) but it loads fine in Linux mint 13 (Maya). Linux mint uses PyQt3 and Kubuntu uses PyQt4. Both use Python 2x. and I am using Qt 4.8.6 in Kubuntu.
The command I use for this is:
Code:
roy@roy-kubuntu:~$ python
Python 2.7.6 (default, Mar 22 2014, 22:59:38)
[GCC 4.8.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import qt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named qt
>>>
In Kubuntu, I have a "qt.so" in /usr/lib/python2.7/dist-packages/dbus/mainloop/qt.so
and I have "Qt.so" in /usr/lib/python2.7/dist-packages/PyQt4/Qt.so
I have tried installing other related packages, thinking I need dependencies, but nothing helps.
I need the "qt" module for a program I have but it gives errors, probably because when it calls for "qt", it can't find it.
Will somebody please help me or give me some hints?
All the best,
Roy