ImportError: Library "GL" not found
See original GitHub issueHi, I get the following error when trying to run DQN baseline. I have opengl already installed. and glxgears, glxinfo already work fine. I am using python 3.5. can someone please let me know how to fix this?
“python -m baselines.deepq.experiments.enjoy_cartpole”
gym.utils.reraise.ReraisedException: Error occured while running from pyglet.gl import *
The original exception was:
ImportError: Library “GL” not found.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:4
- Comments:5 (1 by maintainers)
Top Results From Across the Web
ImportError: Error occured while running `from pyglet.gl ...
I tried installing GL when I got the import error but it still gives me the same error. ... names[0]) ImportError: Library "GL"...
Read more >ImportError: Library "GL" not found.
I received the following message trying to run Pyglet. ImportError: Library "GL" not found.
Read more >ImportError: Library "GL" not found.
I'm trying to install pyglet on Python 2.5.1 on Solaris 10. When trying to run a test program, I get the following:
Read more >How to Fix Error: No Module Named 'OpenGL'
Quick Fix: Python raises the ImportError: No module named 'opengl' when it cannot find the library opengl . The most frequent source of...
Read more >OpenGL Troubles
missing DLL (name is unknown) · Step 1: locate the related PYD file (a kind of Python DLL) - it resides just next...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I have the same problem. I tried this and no error occurs.
But if I run
then there is a problem
Thanks @Deastan ! adding from pyglet.gl import * in the main scriipt did the trick for me