maya2022 切换至 python2

作者:袖梨 2026-06-17

maya2022 切换 python2

Maya on Windows and Linux is packaged with both Python 3 and Python 2 interpreters. Maya for macOS is packaged with only the Python 3 interpreter.

Maya on Windows and Linux starts in Python 3 mode by default. It can be switched to Python 2 mode by either using the -pythonver 2 option when starting Maya from the command line, or by setting the MAYA_PYTHON_VERSION environment variable to 2 before starting Maya from the command line.

在这里插入图片描述

Note: The pythonver option always overrides always overrides MAYA_PYTHON_VERSION.

相关文章

精彩推荐