It seems that your pyglet is not installed properly. pyglet.image.atlas definitely exists as per https://pyglet.readthedocs.io/en/pyglet-1.2-maintenance/api/pyglet/pyglet.image.html 15. Could you check your pyglet version?