Closed sparisi closed 1 year ago
You don't have it in your example code but I think you are printing the environment. Minigrid implements a different print function than gym where the print actually provides a string-based grid of the current environment. Therefore, you should be able to solve this through just avoiding the print statement until you have reset the environment.
We should be able to raise a more helpful error so thanks for the issue
Oh right! This is the first time I use the new minigrid + gymnasium, and in the old gym_minigrid the env was just printed as a matrix of strings without problems. Anyway, I can run experiments and that's what matters. Thanks!
Just installed this repo with
pip install minigrid
. Using python 3.10.9 on Win 11.This happens with any env I tried except the empty minigrid.
I have checked that there is no similar issue in the repo.