Python 3.6: Install problem with PYTHON_VERSION
Closed, ArchivedPublic


Last commit: e3546a5097b1b30a3c694ce0f6b98c2f7e70510c

Installing of Blender does not work with Python 3.6 (by clean installation). There is still some values for python 3.5:

./cmake/Modules/FindPythonLibsUnix.cmake:SET(PYTHON_VERSION 3.5 CACHE STRING "Python Version (major and minor only)")
./cmake/Modules/FindPythonLibsUnix.cmake: # XXX No more valid with debian-like py3.5 packages...
./cmake/platform/platform_apple.cmake: # we use precompiled libraries for py 3.5 and up by default
./package_spec/pacman/PKGBUILD:depends=('libjpeg' 'libpng' 'openjpeg' 'libtiff' 'openexr' 'python>=3.5' ....

It causes this bug by cmake:



It causes this bug by install:

CMake Error at source/creator/cmake_install.cmake:75 (file):

file INSTALL cannot find

Call Stack (most recent call first):

cmake_install.cmake:40 (include)


LazyDodo (LazyDodo) triaged this task as Normal priority.Sep 30 2017, 1:02 AM
Sergey Sharybin (sergey) closed this task as Archived.Oct 2 2017, 9:34 AM

We did not bump required version yet, so you have to manually pass -DPYTHON_VERSION=3.6 when configuring CMake.

Please also refer to bug report guidelines, which states:

What not to report here
Compile or build issues, ask on #blendercoders or mail bf-committers.