Maya is moving to Python 3! You can now begin converting your Python scripts and plug-ins to Python 3!
The Python Software Foundation ceased supporting Python 2 in January 2020. In response to this, Maya now starts in Python 3 mode by default on all platforms. Your Python 2 scripts and plug-ins can now be migrated to Python 3.
You can still start Maya in Python 2 mode on Windows and Linux. Follow the instructions in the updated Python in Maya section to start Maya in Python 2 mode. However, we strongly recommend that you migrate to Python 3.
See the list of open source components for information about the versions of Python used on each platform.