Question

How do I point Blender to the version of python I have installed

Was it helpful?

Solution

Mark, your version of Blender should be compiled with a specific version of Python interfaced to it -- and THAT is the version of Python you need to install on your machine. The same issue surfaced back when Python 2.5 was reasonably new and Blender was still distributed with 2.4 compiled in -- see http://www.blender.org/forum/viewtopic.php?t=11063 ; I suspect you may be running into exactly the same issue. What message of the form "Compiled with Python 2.x" does your Blender give at the start? That should be your clue for what Python to install (unless you want to recompile Blender from source to support your favorite version of Python, of course!)

OTHER TIPS

Blender 2.5x now comes bundled with its own python, this is un-modified, only included to so users don't have to match their system versions of python.

If you remove this python/ directory blender will look for python on the system, matching the version it was compiled with. (3.2, 3.3 etc, minor point releases are all inter compatible).

If you want to point to a non-standard python path you can set PYTHONHOME environment variable - python documents how this works (nothing specific to blender).

Personally, I was setting my PATH environment variable so that Blender would find the most appropriate version of Python first.

1.Open your Blender application;

2.Go to Widow screen layout for Scripting (from top of window Blender)

3.Under Console for python scripting will see your python version, see my output:

PYTHON INTERACTIVE CONSOLE 3.5.1 (default, Feb 17 2016, 17:09:19) [MSC v.1800 64 bit (AMD64)]
>>>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top