5

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

4 Answers 4

9

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;

I suspect you maybe 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!)

Sign up to request clarification or add additional context in comments.

1 Comment

Thanx Alex, It was easier to get the corresponding version of python (2.5).
5

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).

Comments

1

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

2 Comments

and how to do that? i'm using python 2.6 so somehow i have to point blender at that. i'm an ignoramus with no idea about python
If you're running in a Windows environment you can modify your PATH variable in System Properties > Advanced > Environment Variables > System Variables. You can get to System Properties by right-clicking My Computer and selecting Properties or by going to "System" in the Control Panel.
0

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)]
>>>

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.