JacobPfau / procgenAISC

MIT License
18 stars 16 forks source link

Fix fail to load image #1

Closed PavelCz closed 2 years ago

PavelCz commented 2 years ago

Hi, when I try to run the code it fails with this error:

fatal: fatal: fatal: failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
fatal: fatal: failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
fatal: failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
fatal: failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png
fatal: failed to load image /venv/lib/python3.8/site-packages/procgen/data/assets/kenney/Items/yellow.png

If I remove these lines, which seem to point to assets that don't exist, it works. Is this a problem on my end, since I assume you would have come across this error already?

Anyway, might as well PR this, in case it helps.

PavelCz commented 2 years ago

@langosco might be helpful

langosco commented 2 years ago

Thanks for this!