ipython is using your standard system installed python, whereas Maya is
using its own bundled python. So if you only install PyQt for maya, then
you would not have it in a shell.

You should go and install Qt/PyQt4 for your system

Similarly, having access to the uic/rcc tools in Maya is dependant on
whether they were specifically installed.


On Thu, Jun 27, 2013 at 5:30 PM, m li <[email protected]> wrote:

> First I had installed pyqt4 for maya 2013 on lion
> BUT
> I can't find PyQt4 under the shell mode
>
> when I input
> "from PyQt4 import QtCore" in ipython,
> it returened down below
> ------------------------------------------
> ImportError
> Traceback (most recent call last)
> <ipython-input-6-3d546994f66f> in <module>()
> ----> 1 from PyQt4 import QtCore
>
> ImportError: No module named PyQt4.
> -------------------------------------------
>
> when I open maya and in the python editor,
> there is not any problem in import "PyQt4"
> but I can't find the pyuic4 moudel and the pyrcc4 moudel.
>
> please help me.
>
> --
> 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 post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to