EpisodeV2' object has no attribute 'last_info_for'

It seems like before with the Episode class, we were able to query the info dict that is returned by an environment to the agent. EpisodeV2 has removed this function; I’m wondering how we can do the same?

I’ve run into the same problem, but this seems to be a bug that has been fixed in the latest version. See here.

If you install one of the nightlies (see here) then it should work as expected.