While i successfully built the blender-2.80 python module on Windows (without changing anything), i have great difficulty building it for linux (at least in Ubuntu).

Is there anywhere where i can download a successful python module (make bpy) build of the current blender-2.80 for linux?

  • $\begingroup$ What part of the Blender compilation fails?wiki.blender.org/wiki/Building_Blender/Linux $\endgroup$ – Robert Gützkow Jul 9 '19 at 16:02
  • $\begingroup$ Thank you for your answer. The reasons for this can apparently be very complex and i already tried many things. Therefore i wanted to ask here specifically if a resource exists where the blender2.80 python module can be downloaded, since i do not intend to change the blender source code. $\endgroup$ – Robert Roth Jul 9 '19 at 16:32
  • $\begingroup$ Just for clarification you mean the bpy module? You can download and install blender, then it's located in ./2.80/scripts/modules/bpy and ./2.80/scripts/modules/bpy_extras. There isn't really anything to build, it's just python scripts. If you want to run a python script and use bpy, but for some reason don't want to call them through blender, you can call the python executable located in ./2.80/python/bin $\endgroup$ – Robert Gützkow Jul 9 '19 at 16:59
  • 2
    $\begingroup$ FWIW I build bpy as a python module on ubuntu 18, with no issues. Where is the hassle? Related blender.stackexchange.com/questions/126959/… $\endgroup$ – batFINGER Jul 9 '19 at 17:37
  • 1
    $\begingroup$ Make sure the shell is started with python3.7 Comment was re keeping ubuntu system python3 as 3.6, or whatever it's up to, or it stuffs up system upgrade scripts (it doesn't take into account alternate versions links, ) among other hassles. Taking out python3 distpackages from apt installed 3.7 python's site.py is a recommendation to keep installations separate. (Recently had to do again after update) Worth noting if pip3.7 install foo --user is used for installing packages, the module foo will be available to blender's python and system python 3.7. $\endgroup$ – batFINGER Jul 11 '19 at 12:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.