On the Shortcut tab, scroll the Target field all the way to the right.Right-click on your Maya 2022 shortcut and click Properties.If that's too much and you're on Windows, you can make it a bit easier on yourself by editing you Maya 2022 shortcut to do the same. It should look like this: maya.exe -pythonver 2 You'll need to launch Maya from the commandline or create a batch or script file to include the flag. OPTION 1: Use the -pythonver flagĪutodesk included a new -pythonver flag that you can use to launch with Python 2. Maya 2022 for macOS only includes Python 3. ![]() These instructions only work for Windows and Linux since Maya 2022 for those operating systems includes Python 2 and Python 3. If you're not quite ready to port your code and want to start trying out Maya 2022 without having to worry about Python 3, I thought this post might help you out. I've written a guide for auto-converting your Maya Python 2 code to Python 3 with considerations for cross-compatibility between the two versions. I highly recommend starting to look at moving to Python 3. ![]() ![]() Here I highlight and walk you through how to launch Maya 2022 with Python 2 instead. While I'm excited and gladly welcome Python 3 for Maya, I know not everyone may be ready for it.
0 Comments
Leave a Reply. |