How to Check the Python Version in Blender?

Estimated read time 1 min read

To check the Python version in Blender, you can run the following code in the Python Console within Blender:

import sys
print("Python version")
print(sys.version)
print("Version info.")
print(sys.version_info)

Here’s how you can access the Python Console in Blender:

  1. Launch Blender and open the default scene.
  2. Go to the “Scripting” workspace by selecting it from the top menu or switching to it in the Workspace dropdown.
  3. In the “Scripting” workspace, you should see a layout with several panels, including the “Text Editor” and the “Python Console”. Click on the “Python Console” tab to open the Python Console panel.
  4. Once the Python Console is open, you can enter the code mentioned above and press Enter to execute it.

The output in the Python Console will display the Python version and version information, such as:

Python version
3.7.7 (default, Jun  2 2020, 12:06:32)
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.32.62)]
Version info.
sys.version_info(major=3, minor=7, micro=7, releaselevel='final', serial=0)

The displayed information will indicate the Python version that Blender is using.

You May Also Like

More From Author

+ There are no comments

Add yours

Leave a Reply