I don't think this is the issue. The site-packages dir is clearly on my
sys.path, with PyQt4 just beneath it.

Also, this is not a pymel issue. I'm just running Maya, or mayapy and then
attempting to import PyQt4.


On Thu, Jan 6, 2011 at 10:18 AM, Count Zer0 <[email protected]> wrote:

> 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
>

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

Reply via email to