Hi, Justin, Thank you for your reply! 

I checked that my maya 2023 used PySide2, I already try installing python 
3.9 and used PySide2 but it didn't work either. 
Sorry as I'm new to Qt environment, not sure if I understand your reply 
well. 

Also, 
is there any suggestion what should I use to generate PySide UI generation 
you mentioned?

Thank you.  
On Friday, August 23, 2024 at 11:13:45 AM UTC+9 Yoga Yasahardja wrote:

> additionally I can't even run this (screenshot attached). 
>
> On Friday, August 23, 2024 at 10:53:21 AM UTC+9 Justin Israel wrote:
>
>> You can't really pick and choose your version of python or PySide vs 
>> PyQt. If you are going to run it within Maya, you need to use the version 
>> of python and the type of Qt binding that it provides. When you see 
>> "shiboken" in the stacktrace, that is telling you that you need to be using 
>> PySide2. I see you are also using some generated UI code that came from 
>> PyQt5, so that needs to be generated from the pyside UI generation.
>>
>> On Fri, Aug 23, 2024 at 12:48 PM Yoga Yasahardja <yogayas...@gmail.com> 
>> wrote:
>>
>>> I already try it using python 3.12 and 3.9. Import from PySide2, PyQt5, 
>>> from Qt, all same result. 
>>>
>>> -- 
>>> 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 python_inside_m...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/python_inside_maya/10dcd2e8-c601-439f-b154-faa10b753bfcn%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/python_inside_maya/10dcd2e8-c601-439f-b154-faa10b753bfcn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 python_inside_maya+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/6b4c3156-62b0-47ee-b69f-39645d1a20f0n%40googlegroups.com.

Reply via email to