Probably a load order issue. I think PyQt4 path needs to be established pretty early in the maya boot process, we have ours in our Maya.env.
Detailed thread on Maya boot order and injecting paths early enough here: http://bit.ly/dKdGYh Let us know. On Jan 6, 9:36 am, Judah Baron <[email protected]> wrote: > I am getting an import error in Maya 2011 when I attempt the following: > > import PyQt4 > > # Error: ImportError: file <maya console> line 1: No module named PyQt4 # > > I've checked the sys.path and it looks correct. > > When I run mayapy directly from the command line I get the same error when I > attempt the import. > > Is there something I've missing/overlooking? Any help would be greatly > appreciated. > > thanks, > -Judah -- http://groups.google.com/group/python_inside_maya
