From: Alan W. I. <ir...@be...> - 2002-12-25 22:20:54
|
On Wed, 25 Dec 2002, Maurice LeBrun wrote: > BTW does this work for anyone? > > ged$ ./prova.py > Traceback (most recent call last): > File "./prova.py", line 9, in ? > from qt import * > ImportError: No module named qt > > I followed the prescription for finding libqt but it didn't work. > > ged$ echo $LD_LIBRARY_PATH > .:/home/mjl/gts/lib:/usr/lib/qt-3.0.3/lib > > ged$ ll -L /usr/lib/qt-3.0.3/lib/libqt.so > -rwxr-xr-x 1 root root 7644546 Apr 16 2002 /usr/lib/qt-3.0.3/lib/libqt.so Yes, works for me. qt refers to the python module (/usr/lib/python2.1/site-packages/qt.py(o)), not the qt library. The module is in the python-pyqt package on Debian. I don't know what that package is named on RedHat, but you should be able to find it using rpmfind on qt.py. You will also need libsip. Good luck, and Merry Christmas! Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ |