I'm following mcfletch's instructions to install and use PyOpenGL. However, I get an "An error happened while installing PyOpenGL-accelerate
in editable mode." after running the last command, $ pip install -e .
. All previous commands...
$ pip install PyOpenGL PyOpenGL_accelerate
$ cd pyopengl
$ pip install -e .
$ cd accelerate
... worked just fine and everything seems to be correctly installed. The error message sugests me this debug recommendations:
The following steps are recommended to help debug this problem:
- Try to install the project normally, without using the editable mode.
Does the error still persist?
(If it does, try fixing the problem before attempting the editable mode).
- If you are using binary extensions, make sure you have all OS-level
dependencies installed (e.g. compilers, toolchains, binary libraries, ...).
- Try the latest version of setuptools (maybe the error was already fixed).
- If you (or your project dependencies) are using any setuptools extension
or customization, make sure they support the editable mode.
I'm not using any setuptools nor binary extensions.
At the end of there error message, it also states that: "error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/"
I updated the Microsoft C++ Build Tools (now it's version 17) but the error persists (and I restarted the computer on each step, so there's that).