Open ludalevy opened 11 months ago
I cloned the code from this repository on GitHub and tried to install it using 'pip install -e .', but I encountered the same problem. However, after attempting to uninstall it and then directly installing with 'pip install minimgl', the issue was resolved.
got the same problem:
File ".../lib/python3.11/site-packages/OpenGL/error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1280, description = b'invalid enumerant', baseOperation = glBlendFuncSeparate, cArguments = ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_ONE, ) )
Refer to #2078, I've test it on my macos sonoma 14.1.2, and the result is that: This problem can be resolve when using "pip install manimgl", but can not run on "pip install -e ."
Interestingly, I successfully tested "pip install -e ." last week with Sonoma 14.1.1 But this week, it seems to be failing with 14.1.2. Is this really related to the macOS version?
The following script has been run after installing manimgl 1.6.1:
manimgl example_scenes.py OpeningManimExample
The running error is: OpenGL/error.py", line 230, in glCheckError raise self._errorClass( OpenGL.error.GLError: GLError( err = 1280, description = b'invalid enumerant', baseOperation = glBlendFuncSeparate, cArguments = ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE_MINUS_DST_ALPHA, GL_ONE, ) )
File shader_wrapper.py contains code gl.glBlendFuncSeparate(
Ordinary blending for colors
Environment OS System: MacOS manim version: ManimGL v1.6.1
Here are the installed packages: appnope 0.1.3 asttokens 2.4.1 backcall 0.2.0 colour 0.1.5 contourpy 1.1.1 cycler 0.12.1 Cython 3.0.5 decorator 5.1.1 executing 2.0.1 fonttools 4.45.0 glcontext 2.5.0 importlib-resources 6.1.1 ipython 8.12.3 isosurfaces 0.1.0 jedi 0.19.1 kiwisolver 1.4.5 manimgl 1.6.1 /Users/myname/Sandbox/manim ManimPango 0.4.4 mapbox-earcut 1.0.1 markdown-it-py 3.0.0 matplotlib 3.7.4 matplotlib-inline 0.1.6 mdurl 0.1.2 moderngl 5.9.0 moderngl-window 2.4.5 mpmath 1.3.0 multipledispatch 1.0.0 numpy 1.24.4 packaging 23.2 parso 0.8.3 pexpect 4.8.0 pickleshare 0.7.5 Pillow 10.0.1 pip 23.3.1 prompt-toolkit 3.0.41 ptyprocess 0.7.0 pure-eval 0.2.2 pydub 0.25.1 pyglet 2.0.10 Pygments 2.17.1 pyobjc-core 10.0 pyobjc-framework-Cocoa 10.0 PyOpenGL 3.1.7 pyparsing 3.1.1 pyperclip 1.8.2 pyrr 0.10.3 python-dateutil 2.8.2 PyYAML 6.0.1 rich 13.7.0 scipy 1.10.1 screeninfo 0.8.1 setuptools 56.0.0 six 1.16.0 skia-pathops 0.8.0.post1 stack-data 0.6.3 svgelements 1.9.6 sympy 1.12 tqdm 4.66.1 traitlets 5.13.0 typing_extensions 4.8.0 validators 0.22.0 wcwidth 0.2.10 zipp 3.17.0