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

AttributeError: 'NoneType' object has no attribute 'set_current' #110

Open
Pegasus133 opened this issue Nov 7, 2024 · 0 comments
Open

Comments

@Pegasus133
Copy link

Is there a following error when running python bin/interactive.py --scenario simple.py this command?
Traceback (most recent call last):
File "d:/python/MADDPG/multiagent-particle-envs-master/bin/interactive.py", line 36, in
env.render()
File "d:\python\MADDPG\multiagent-particle-envs-master\bin..\multiagent\environment.py", line 261, in render
results.append(self.viewers[i].render(return_rgb_array = mode=='rgb_array'))
File "d:\python\MADDPG\multiagent-particle-envs-master\bin..\multiagent\rendering.py", line 89, in render
self.window.switch_to()
File "D:\python\Anaconda3\envs\python36\lib\site-packages\pyglet\window\win32_init_.py", line 305, in switch_to
self.context.set_current()
AttributeError: 'NoneType' object has no attribute 'set_current'

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