Python 2 scripts do not work in Maya 2023

Python 2 scripts do not work in Maya 2023

artofillusionist
Enthusiast Enthusiast
1,487 Views
1 Reply
Message 1 of 2

Python 2 scripts do not work in Maya 2023

artofillusionist
Enthusiast
Enthusiast

Hi,

 

I have many scripts which are working well in Maya 2020. 

 

I need start Maya 2022 in this way, or my python scripts are not working anymore:

My Maya 2022 shortcut, so my scripts are working again: "C:\Program Files\Autodesk\Maya2022\bin\maya.exe" -pythonver 2

 

But I have the same problem in Maya 2023, my scripts do not work, and nothing happen if I try launch Maya in the same way:

"C:\Program Files\Autodesk\Maya2023\bin\maya.exe" -pythonver 2

 

I see Maya 2023 does not support anymore python 2. So I need to convert the scripts.

 

I saw many youtube videos about this, even I see the python files in my maya install folder (pip, 2to3...) but when I run the scripts I got always this error: '2to3' is not recognized as an internal or external command, operable program or batch file.

 

Do you know the solution?

 

 

0 Likes
1,488 Views
1 Reply
Reply (1)
Message 2 of 2

Christoph_Schaedl
Mentor
Mentor

If you cant fix it yourself. Post the scripts in a Tech forum or find a TD.

----------------------------------------------------------------
https://linktr.ee/cg_oglu
0 Likes