Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenGL with Pyglet error on Mac OSX #19

Closed
praveen-palanisamy opened this issue May 19, 2021 · 0 comments · Fixed by #20
Closed

OpenGL with Pyglet error on Mac OSX #19

praveen-palanisamy opened this issue May 19, 2021 · 0 comments · Fixed by #20

Comments

@praveen-palanisamy
Copy link
Collaborator

It seems your 'Getting Started' is only for Linux. Do you have instructions for MacOS? In particular how to install/use OpenGL. I have this when running code of your 1st example in Ch1 in Jupyter Notebook:

ImportError: Can't find framework /System/Library/Frameworks/OpenGL.framework

UPDATE: I figured this out. You need to update "pyglet" package in the "gym" install to the latest version for rendering to work on MacOS, per:openai/gym#2101
Update it in Anaconda via CLI: conda install -c conda-forge pyglet
Rendering works for me now after pyglet was updated to v1.5.16.

Originally posted by @bayareacoder in #18

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging a pull request may close this issue.

1 participant