since python 3.6 is needed to compile, I upgraded to ubuntu 17.10 (which incorporates python 3.6.3) so I would not have to install python3.6 manually. But now, I still can’t compile Blender, it just keeps using old python.
-- Configuring incomplete, errors occurred!
See also "/home/blender-git/build_linux/CMakeFiles/CMakeOutput.log".
See also "/home/blender-git/build_linux/CMakeFiles/CMakeError.log".
Makefile:2148: rule for target „cmake_check_build_system“ failed
make: *** [cmake_check_build_system] error 1
CMake Error at CMakeLists.txt:769 (message):
At least Python 3.6 is required to build
What can I do to make the compiler use python3.6 (aka python3) with minimal effort?
Hi.
Are you sure you have development package installed?. Update repository and install “libpython3.6-dev” package.
There have been other cases where after upgrade distro, it has been necessary to execute “install_deps.sh” script again from Blender files (being connected to the internet)
libpython3.6-dev is installed, install_deps.sh also confirms: “python3.6-dev is already the newest version (3.6.3-1ubuntu1).”
But executing install_deps.sh returns another error even after redownloading everything:
error: unknown type name ‘__float128’
error: unknown type name ‘__float128’
error: target of using declaration conflicts with declaration already in scope
error: call to ‘abs’ is ambiguous
error: call to ‘abs’ is ambiguous
Yes, that was all, just took me three weeks to figure out
But that should only work if you upgraded your linux from an earlier version, if it is a fresh install, it might be something else.