TypeError: Environment should implement py_environment.PyEnvironment
fatenlouati opened this issue · 4 comments
fatenlouati commented
Hi Mr Jeff,
I'm tring to execute the code which create own environment in my own pc but I get this error:
TypeError: Environment should implement py_environment.PyEnvironment
In call to configurable 'TFPyEnvironment' (<class 'tf_agents.environments.tf_py_environment.TFPyEnvironment'>)
How can I fix this issue. Thank you
jeffheaton commented
Which of my source files are you trying to execute? How do I reproduce this error?
fatenlouati commented
Moduld 12 part 12.5
jeffheaton commented
jeffheaton commented
I tried running this in colab, and did not get any errors. If this is still an issue, let me know exactly which line you see this on. Likely an old version of one of the libraries I guess.