LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   ImportError: No module named qt+fedora12 (https://www.linuxquestions.org/questions/linux-newbie-8/importerror-no-module-named-qt-fedora12-782790/)

srinivasmiriyalu 01-17-2010 12:33 PM

ImportError: No module named qt+fedora12
 
I installed PyQt4 using yum but when I ran python file it came up with message which says
Code:

[root@VAIO examples]# python
Python 2.6.2 (r262:71600, Aug 21 2009, 12:22:21)
[GCC 4.4.1 20090818 (Red Hat 4.4.1-6)] 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
>>>

any idea?

knudfl 01-17-2010 03:09 PM

# yum provides */qt.py
scons-1.2.0-3.fc12.noarch :
An Open Source software construction tool
Matched by:
File name : /usr/lib/scons/SCons/Tool/qt.py

I do not know, if that's what you want.
To know all file names in ' PyQt4 ' please do this command :
rpm -ql PyQt4

Other packages, related : PyQt4-devel , PyQt(-3..).
.....


All times are GMT -5. The time now is 07:12 AM.