Python Versions

MotionBuilder is packaged with both Python 3 and Python 2 interpreters.

MotionBuilder starts in Python 3 mode by default, but can be switched to Python 2 mode either by using the -pythonver 2 option when starting MotionBuilder from the command line, or by setting the MOTIONBUILDER_PYTHON_VERSION environment variable to 2.

Platform Command Environment variable
Windows
motionbuilder.exe -pythonver 2
> set MOTIONBUILDER_PYTHON_VERSION=2
> motionbuilder.exe
Linux
motionbuilder -pythonver 2
$ export MOTIONBUILDER_PYTHON_VERSION=2
$ motionbuilder
Note: The pythonver option always overrides MOTIONBUILDER_PYTHON_VERSION.