Hi,
I'm having the same problem when attempting to run uber_subject.py on a linux server that uses tcshell. Because this is a University server, I can not use the commands by "uber_subject.py -help_install", but a version of PyQt4 has been previously installed. I've tried using Python 2.4.1, 2.6.1, and 2.7.1, and in my .cshrc.mine file I have:
setenv PYTHONPATH /usr/lib64/python2.6/site-packages/PyQt4/
However, I still get the following error after entering uber_subject.py. I'm not sure what I might be missing, or if there is something else I need to set in my environment, but I can't get the GUI to open. Is there a solution for this?
**** failed to import PyQt4.QtGui ****
PyQt4 must be installed to run the uber_subject.py GUI
--> see the output of: uber_subject.py -help_install
This is what is in that PyQt4 directory mentioned above.
drwxr-xr-x 3 root root 4096 Apr 25 12:34 .
drwxr-xr-x. 34 root root 4096 Apr 25 12:34 ..
-rw-r--r-- 1 root root 1398 Jun 4 2010 __init__.py
-rw-r--r-- 1 root root 139 Jun 4 2010 __init__.pyc
-rw-r--r-- 1 root root 139 Jun 4 2010 __init__.pyo
-rwxr-xr-x 1 root root 467864 Jun 4 2010 phonon.so
-rw-r--r-- 1 root root 13059 Jun 4 2010 pyqtconfig.py
-rw-r--r-- 1 root root 14563 Jun 4 2010 pyqtconfig.pyc
-rw-r--r-- 1 root root 14563 Jun 4 2010 pyqtconfig.pyo
-rwxr-xr-x 1 root root 20896 Jun 4 2010 QtAssistant.so
-rwxr-xr-x 1 root root 1967232 Jun 4 2010 QtCore.so
-rwxr-xr-x 1 root root 386744 Jun 4 2010 QtDesigner.so
-rwxr-xr-x 1 root root 8353800 Jun 4 2010 QtGui.so
-rwxr-xr-x 1 root root 134456 Jun 4 2010 QtHelp.so
-rwxr-xr-x 1 root root 601432 Jun 4 2010 QtNetwork.so
-rwxr-xr-x 1 root root 165080 Jun 4 2010 QtOpenGL.so
-rwxr-xr-x 1 root root 180504 Jun 4 2010 QtScript.so
-rwxr-xr-x 1 root root 21952 Jun 4 2010 QtScriptTools.so
-rwxr-xr-x 1 root root 4928 Jun 4 2010 Qt.so
-rwxr-xr-x 1 root root 328728 Jun 4 2010 QtSql.so
-rwxr-xr-x 1 root root 120344 Jun 4 2010 QtSvg.so
-rwxr-xr-x 1 root root 25560 Jun 4 2010 QtTest.so
-rwxr-xr-x 1 root root 144064 Jun 4 2010 QtXmlPatterns.so
-rwxr-xr-x 1 root root 293736 Jun 4 2010 QtXml.so
drwxr-xr-x 7 root root 4096 Apr 25 12:34 uic