in PyQt you have to import the modules separately so you do something
more like
from PyQt4 import QtGui
So any of the classes under PyQt4 have to be imported on their own.
I believe you can also do it like so
from PyQt4 import QtGui as qtG
Hopefully this helps.
also you can check whether the path to your specified python file is
there by using sys.
import sys as sys
for stuff in sys.path:
print stuff
if your directory isn't in that list just append it.
sys.path.append('Path')
hopefully this help!!
Brandon L. Harris