-
Hello! During developer setup, I wasn't able to complete the PyOpenGL_Accelerate part of install_dependancies.py, the error being that pip can't find Python.h during the compilation of the module. Here's what I tried:
Since the packages are installed on my machine and that I can build it, I suppose it's a problem with some kind of environment accessible from blender, although my knowledge is too limited to know how to search for it at the moment. Do you have any ideas of how to proceed ? Here is my log if it helps.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
PyOpenGL_Accelerate is fully optional. What I do (on Windows) is to install the Python version (with the development headers) that matches the one used by Blender, and use that python installation instead of the one bundled by Blender to run the install scripts. An easier option would be to just copy-paste the dependencies folder from the BlenderMalt releases from Github. It may be desirable to add an option to the install scripts to simply fetch the dependencies and C libraries from a compiled release, since setting up the whole compiler toolchain can be difficult and most people won't need it anyway. |
Beta Was this translation helpful? Give feedback.
PyOpenGL_Accelerate is fully optional.
It just may provide a slight performance boost to PyOpenGL, so I wouldn't worry too much if you can't get it to work.
What I do (on Windows) is to install the Python version (with the development headers) that matches the one used by Blender, and use that python installation instead of the one bundled by Blender to run the install scripts.
An easier option would be to just copy-paste the dependencies folder from the BlenderMalt releases from Github.
It may be desirable to add an option to the install scripts to simply fetch the dependencies and C libraries from a compiled release, since setting up the whole compiler toolchain can be difficult and mos…