I tried to install p5 python in colab and it seemed to work but I cannot import p5 because I get this error:
8 frames
src/latebind.pyx in OpenGL_accelerate.latebind.Curry.call()
/usr/local/lib/python3.11/dist-packages/OpenGL/platform/baseplatform.py in call(self, *args, **named)
421 pass
422 else:
--> 423 raise error.NullFunctionError(
424 """Attempt to call an undefined function %s, check for bool(%s) before calling"""%(
425 self.name, self.name,
NullFunctionError: Attempt to call an undefined function gluNewTess, check for bool(gluNewTess) before calling
I tried to fix it by installing PyOpenGL_accelerate but no change.
!pip install -U PyOpenGL==3.1.6 PyOpenGL_accelerate==3.1.7
!pip install -U p5
Can p5 python run in colab? If so could there be a template for it anywhere?
You can see the notebook here: https://colab.research.google.com/drive/13mM3B1MKhPE0CdJJpyYmBrO0oM1WTwYc?usp=sharing
I tried to install p5 python in colab and it seemed to work but I cannot import p5 because I get this error:
8 frames
src/latebind.pyx in OpenGL_accelerate.latebind.Curry.call()
/usr/local/lib/python3.11/dist-packages/OpenGL/platform/baseplatform.py in call(self, *args, **named)
421 pass
422 else:
--> 423 raise error.NullFunctionError(
424 """Attempt to call an undefined function %s, check for bool(%s) before calling"""%(
425 self.name, self.name,
NullFunctionError: Attempt to call an undefined function gluNewTess, check for bool(gluNewTess) before calling
I tried to fix it by installing PyOpenGL_accelerate but no change.
!pip install -U PyOpenGL==3.1.6 PyOpenGL_accelerate==3.1.7
!pip install -U p5
Can p5 python run in colab? If so could there be a template for it anywhere?
You can see the notebook here: https://colab.research.google.com/drive/13mM3B1MKhPE0CdJJpyYmBrO0oM1WTwYc?usp=sharing