On Wed, Oct 11, 2017, 5:08 PM Joe Weidenbach <[email protected]> wrote:
> Maya 2017 has PySide2 (as compared to PySide), so it would be: > > from PySide2 import QtCore, QtWidgets > > And so on :) > Nice catch > > On Wed, Oct 11, 2017 at 5:06 PM Justin Israel <[email protected]> > wrote: > >> Its supposed to be available. Have you done something to your PYTHONPATH >> to remove Maya's own site-packages? >> >> On Wed, Oct 11, 2017, 5:00 PM jettam <[email protected]> wrote: >> >>> I am learning how to build GUIs in Maya. I am using maya 2017 >>> >>> When I run this command I get this error. I thought PySide was built >>> into Maya? >>> >>> from PySide import QtGui, QtCore, QtUiTools >>> # Error: No module named PySide >>> # Traceback (most recent call last): >>> # File "<maya console>", line 1, in <module> >>> # ImportError: No module named PySide # >>> >>> I also get this error when trying to run Shiboken >>> >>> from shiboken import wrapInstance >>> # Error: No module named shiboken >>> # Traceback (most recent call last): >>> # File "<maya console>", line 1, in <module> >>> # ImportError: No module named shiboken # >>> >>> -- >>> 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/a530ffaf-dafa-4239-884b-e8d4378942a7%40googlegroups.com >>> <https://groups.google.com/d/msgid/python_inside_maya/a530ffaf-dafa-4239-884b-e8d4378942a7%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> 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/CAPGFgA1X_ukY6jj_kvbpg73E6Qagij6-P9Ruuz-%2Buyw8FScgrw%40mail.gmail.com >> <https://groups.google.com/d/msgid/python_inside_maya/CAPGFgA1X_ukY6jj_kvbpg73E6Qagij6-P9Ruuz-%2Buyw8FScgrw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . > > >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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/CAM33%3Da6r36zbQjEsazB9z5NHdFWA-6tOgbc9C%2B-JW_72OR3jbw%40mail.gmail.com > <https://groups.google.com/d/msgid/python_inside_maya/CAM33%3Da6r36zbQjEsazB9z5NHdFWA-6tOgbc9C%2B-JW_72OR3jbw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA15ZSTmgFN%3DCdAjLEZZF0OLn%2BoO8CVAL-p%2BFb5zQ0VDLw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
