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

Pygame error #23

Open
SHITIANYU-hue opened this issue Aug 18, 2020 · 3 comments
Open

Pygame error #23

SHITIANYU-hue opened this issue Aug 18, 2020 · 3 comments

Comments

@SHITIANYU-hue
Copy link

File "test.py", line 55, in
main()
File "test.py", line 43, in main
env = gym.make('carla-v0', params=params)
File "/home/tianyushi/miniconda3/envs/end2end/lib/python3.6/site-packages/gym/envs/registration.py", line 156, in make
return registry.make(id, **kwargs)
File "/home/tianyushi/miniconda3/envs/end2end/lib/python3.6/site-packages/gym/envs/registration.py", line 101, in make
env = spec.make(kwargs)
File "/home/tianyushi/miniconda3/envs/end2end/lib/python3.6/site-packages/gym/envs/registration.py", line 73, in make
env = cls(
_kwargs)
File "/home/tianyushi/code/gym-carla/gym_carla/envs/carla_env.py", line 142, in init
self._init_renderer()
File "/home/tianyushi/code/gym-carla/gym_carla/envs/carla_env.py", line 338, in _init_renderer
pygame.HWSURFACE | pygame.DOUBLEBUF)
pygame.error: No available video device

@SHITIANYU-hue
Copy link
Author

I run the test.py file, but it occurs this error.

@cjy1992
Copy link
Owner

cjy1992 commented Aug 21, 2020

Are you running without a monitor? It seems the pygame here cannot work without a monitor.

@SHITIANYU-hue
Copy link
Author

Thanks for your reply, I will try it in the monitor👍

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

2 participants