Closed WisarutBholsithi closed 4 years ago
Hi, I'm not the one who develop this lib, but I met the same problem and solved it. So, if you installed PyOpenGL version 3.1.4, I recommend downgrade it. In my case, I used "conda install -c anaconda pyopengl" so it was downgraded as 3.1.1.a.
Might be there another issue tho, OS Error. It would be solved by install python3-opengl package by apt-get (in linux env)
Hi, I also have this problem, and I downgrade pyopengl to version 3.1.1a1(v3.1.1 isn't exist). But the problem still exist.
Today, I have attempted to install pyopengl on my virtual machine. And, mesh works well. Previously, I installed it on a remote server and it failed. I think it is related to your paltform, not only software, but also hardware.
after downgrading PyOpenGL to version 3.1.0 I had this error ('Unable to load OpenGL library', 'GL: cannot open shared object file: No such file or directory', 'GL', None)
Edit : I'm running on a docker container with the setting Ubuntu 18.04.1 and python 3.6.8
@WisarutBholsithi Thank you for reporting the issue. I have tried running make all
and then make tests
in a completely clean python3 virtual environment and it worked flawlessly. It looks like this issues strongly depends on the environment you are working in. Could you please report the operating system and the python version you're using to run the code?
@mia-minyoung @Silverster98 and @Water-Silver, your input, of course, would be incredibly helpful as well.
Closing until somebody provides us with the information on how to reproduce.
I met the same problem when running this project.
I set _error_checker
in pythonX.X/dist-packages/OpenGL/raw/GL/_errors.py
to be None
without calling the function _ErrorChecker( _p, _p.GL.glGetError)
and it worked.
Althrough it's not a perfect solution, hope it can helps :-)
I was getting the same error. I'm running the code on nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04
docker container.
pip install PyOpenGL==3.1.1a1
did the trick for me!
Dear developers, I'm trying to use mesh processing libraries (Perceiving Systems Mesh Package) as a part of TF_FLAME. However, when I tried to run the command line "make tests", it keeps showing error as
AttributeError: 'NoneType' object has no attribute 'glGetError'
Something must have gone wrong with pyopengl library so it crashed when I tried to test the mesh library. Therefore, I need to know which version of pyopengl you have used to implement mesh library so I can reinstall the appropriate pyopengl library for this matter.
Hope you will give the answer for this issue though.