3
$\begingroup$

Blender 2.79 Reports its Python version as 3.5.3

Is the mix of Python 3.7.X and Blender 2.79 compatible? What steps should be taken? What is the estimated time for these steps?

I am not seeking to compile Blender.

I have seen this

Python system version vs python Blender internal version

If someone can confirm the above link is valid and accurate as of Date 2019-03 that would be an answer as well.

$\endgroup$
1
  • $\begingroup$ AFAIK blender needs to be compiled against the python version. Can attest that 2.79 can be built using python 3.7. Recommend either build yourself, or find a version compiled against 3.7 to download. $\endgroup$
    – batFINGER
    Commented May 3, 2019 at 18:41

1 Answer 1

3
$\begingroup$

As the answers to the linked question stated, Blender comes with its own Python version. This is correct for Blender 2.7x and 2.8x.

You can have more than one Python version installed on your computer anyway, but the specific reason for why this works in Blender is a quite old concept, that dates back to the time, when shared libraries were invented.

If you start any software that uses shared libraries (or any other form of additions), it first starts to look for them in its own installation directory. If it doesn't find there, what it's looking for, it tries the directories that are stored in the user variables and then the system variables. If it still doesn't find what it's looking for, it throws an exception error.1)

In short - ideally you don't have to do anything, since Blender has its own Python version and 3.7.X makes entries to the system variables during install. However, if you want to use even more Python versions, you either need to add another system variable for each version or make use of pyenv.

1) A variant to this behavior called DLL Injection enables good things like ENB or ReShade, but also bad things like viruses.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .