Hello.

I have been trying to run the example in Maya 2011 eg) devkit\other
\PyQtScripts\qt\myMakeStuff.py

but I got some problems. I have also tried from zGUI.makeStuff import
Ui_Dialog but got the same error.

import sys
from PyQt4 import QtCore, QtGui
from makeStuff import Ui_Dialog
import maya.cmds as cmds
import pumpThread as pt

Error: ImportError: No module named makeStuff
# Error: ImportError: No module named pumpThread #

This simple code works though.
import sys
from PyQt4 import QtGui as qt
app = qt.QApplication(sys.argv)
hello = qt.QLabel("Hello world!", None)
hello.show()

Does anyone know what I'm missing?

Thanks!

-- 
http://groups.google.com/group/python_inside_maya

Reply via email to