Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python3 "ModuleNotFoundError: No module named 'OpenGL'"

I am running python3. I've installed OpenGL (pip install OpenGL PyOpenGL_accelerate). When I run my program (python3 opengltest1.py) I get this error:

Traceback (most recent call last):

File "opengltest1.py", line 4, in <module>
    from OpenGL.GL import *
like image 761
JGV Avatar asked Oct 23 '25 04:10

JGV


1 Answers

The solution was to install OpenGL with pip3 instead of pip, i.e.

pip3 install pyopengl

@eyllanesc Thanks for the help. In following up on your suggestion, I found the solution.

like image 199
JGV Avatar answered Oct 26 '25 14:10

JGV