I have appended the PYTHONPATH using sys.path.append and have added the
qtconf file as per Marcus’ answer

Could you take me through what you did exactly?
​

and also: sys.path.append(‘C:\Python27\lib\site-packages\pyqt4’)

I think you may have misunderstood me here, this is not the same as:

os.environ["PATH"] += ";" + "C:\\Python27\\lib\\site-packages\\pyqt4"

Adding to sys.path is the equivalent of adding to your PYTHONPATH and has
nothing to do with the PyQt binaries, which will look at your PATH.

What did you do with the qt.conf file? The contents of this file is also
very important and relative to where you put it.
​

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOD-D43ZcC_qqCkepXs7MWw9RC8h-r2JkBbn0th255GyUQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to