ImportError: Library "GL" not found · Issue #235 - GitHub
文章推薦指數: 80 %
ReraisedException: Error occured while running from pyglet.gl import * The original exception was: ImportError: Library "GL" not found.
Skiptocontent
{{message}}
openai
/
baselines
Public
Notifications
Fork
4.4k
Star
12.9k
Code
Issues
398
Pullrequests
84
Actions
Projects
0
Security
Insights
More
Code
Issues
Pullrequests
Actions
Projects
Security
Insights
Newissue
Haveaquestionaboutthisproject?SignupforafreeGitHubaccounttoopenanissueandcontactitsmaintainersandthecommunity.
Pickausername
EmailAddress
Password
SignupforGitHub
Byclicking“SignupforGitHub”,youagreetoourtermsofserviceand
privacystatement.We’lloccasionallysendyouaccountrelatedemails.
AlreadyonGitHub?
Signin
toyouraccount
Jumptobottom
ImportError:Library"GL"notfound
#235
Closed
riyaazsopenedthisissue
Dec16,2017
·5comments
Closed
ImportError:Library"GL"notfound
#235
riyaazsopenedthisissue
Dec16,2017
·5comments
Comments
Copylink
riyaazs
commented
Dec16,2017
Hi,
IgetthefollowingerrorwhentryingtorunDQNbaseline.
Ihaveopenglalreadyinstalled.andglxgears,glxinfoalreadyworkfine.
Iamusingpython3.5.
cansomeonepleaseletmeknowhowtofixthis?
"python-mbaselines.deepq.experiments.enjoy_cartpole"
gym.utils.reraise.ReraisedException:Erroroccuredwhilerunningfrompyglet.glimport*
Theoriginalexceptionwas:
ImportError:Library"GL"notfound.
Thetextwasupdatedsuccessfully,buttheseerrorswereencountered:
👍
4
riccitensor,anishvmonsy,Jmosesee,andchuxiaoyi2018reactedwiththumbsupemoji
Allreactions
👍
4reactions
Copylink
Contributor
olegklimov
commented
Feb5,2018
That'snotabuginthislibrary.Pleasecreateatestfilethatcontainsonlyfrompyglet.glimport*andrunittoreproducethiserrorinisolation.Alsoseedependenciesforgymtoinstallwhatismissing.(somepythonGLstuff)
Allreactions
Sorry,somethingwentwrong.
olegklimov
closedthisascompleted
Feb5,2018
Copylink
ziyangli
commented
Mar19,2019
•
edited
Ihavethesameproblem.Itriedthisandnoerroroccurs.
Python3.6.3(default,Oct62017,00:00:00)
[GCC4.8.4]onlinux
Type"help","copyright","credits"or"license"formoreinformation.
>>>frompyglet.glimport*
>>>gl_lib=pyglet.lib.load_library('GL')
>>>
>>>
ButifIrun
python-mbaselines.run--alg=deepq--env=CartPole-v0--load_path=./cartpole_model.pkl--num_timesteps=0--play
thenthereisaproblem
Instructionsforupdating:
Usetf.castinstead.
Loadedmodelfrom./cartpole_model.pkl
Runningtrainedmodel
Traceback(mostrecentcalllast):
File"/home/lzy/git/gym/gym/envs/classic_control/rendering.py",line27,in
延伸文章資訊
- 1Gym on Mac OS X Big Sur Error occurred while running `from ...
Error occurred while running `from pyglet.gl import *` HINT: make sure you have OpenGL install. O...
- 2ImportError: Library "GL" not found · Issue #235 - GitHub
ReraisedException: Error occured while running from pyglet.gl import * The original exception was...
- 3"Library "GLU" not found" while using openaAI gym
Error occurred while running `from pyglet.gl import *`. HINT: make sure you have OpenGL installed...
- 4Gym on Mac OS X Big Sur · Issue #2101 · openai/gym - GitHub
Error occurred while running `from pyglet.gl import *` HINT: make sure you have OpenGL install. O...
- 5ImportError: Error occured while running `from pyglet.gl import ...
ImportError: Error occured while running `from pyglet.gl import *` while handling exception :Libr...