Community
Maya Forum
Welcome to Autodesk’s Maya Forums. Share your knowledge, ask questions, and explore popular Maya topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Python 2 scripts do not work in Maya 2023

1 REPLY 1
Reply
Message 1 of 2
artofillusionist
246 Views, 1 Reply

Python 2 scripts do not work in Maya 2023

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?

 

 

1 REPLY 1
Message 2 of 2

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

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report