lb-foraging
lb-foraging copied to clipboard
What is the version of pyglet?
File "/home/lenovo/anaconda3/envs/env_rl_mujoco/lib/python3.9/site-packages/lbforaging/foraging/rendering.py", line 134, in _draw_grid batch.add( AttributeError: 'Batch' object has no attribute 'add'
batch is a instance of pyglet as follow batch = pyglet.graphics.Batch() for r in range(self.rows + 1): batch.add(
The problem is resolved by using pyglet version 1.5.19 instead of 2.0.1