Error while evaluation

I came across this error when I ran the python file while testing.

The traceback at the agent terminal and then the evaluator terminal respectively was:
Any suggestions to fix this issue would be really helpful.
Thank you.

Hello @manavsinghal157,

This looks like a version mismatch between

  • the environment files you use (the .pkl), and
  • the flatland-rl release

Which version are you using for each?

The environment files should be the latest one coming from:

The flatland-rl version should be >=2.2.0. You can check it by running:
pip list|grep flatland


Thanks, @MasterScrat. I found out that I had the previous version of flatland-rl due to which the error was coming.