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

Make westworld work in Google Colab #5

Open
TheoLvs opened this issue Sep 17, 2021 · 0 comments
Open

Make westworld work in Google Colab #5

TheoLvs opened this issue Sep 17, 2021 · 0 comments

Comments

@TheoLvs
Copy link
Owner

TheoLvs commented Sep 17, 2021

By default PyGame is not supported, you can trick Colab into thinking there is a video device for simulation purposes. See here https://colab.research.google.com/drive/1xtiBrGeRHmXY3KSOixkZBf_rJIgBImJu?usp=sharing

You simply need to add

os.environ["SDL_VIDEODRIVER"] = "dummy"

Yet, other options don't work like in Jupyter notebook -> Ipywidgets replay

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

No branches or pull requests

1 participant