I have successfully built Blender as a Python Module using cmake on Ubuntu 20.04. I want to install it into my Python to use Eclipse as the IDE/Debugger (did this on Windows 10 to great fanfare). Problem is that Blender is Python 3.7.7 and the version installed for Ubuntu in .local/bin/Python is 3.8. As far as I am aware, this won’t work. They need to be the same version, correct?
-
What do I do about this? Should I downgrade my installed Python version or install the older version separately (making it default - PYTHONPATH, etc.)?
-
wiki.Blender.orgs instructions for installing the Blender Python Module on Linux don’t make sense to me. It says to use ‘make install’ but you have to set:
WITH_INSTALL_PORTABLE=ON
CMAKE_INSTALL_PREFIX=$HOME/.local/lib/python3.7/site-packages
for a local install (just for me, the user, in my Home directory). How do you set these? Can it be done in the terminal as arguments to ‘make install’ or is there a file that needs to be updated?
I do not want to continue this process until there is clarification about these 2 areas of ignorance or possible incompatibility.
Thanks!
Robert