Skip to content

Set maximum gym version for compatibility reasons.#899

Merged
AlexKuhnle merged 3 commits intotensorforce:masterfrom
bwarre471:master
Aug 14, 2023
Merged

Set maximum gym version for compatibility reasons.#899
AlexKuhnle merged 3 commits intotensorforce:masterfrom
bwarre471:master

Conversation

@bwarre471
Copy link
Copy Markdown
Contributor

With higher gym versions, it shows :

AttributeError: module 'gym.wrappers' has no attribute 'Monitor'

I attempt to fix it, but it throwed further errors that makes it non working.
In some versions, it's error about gym.envs.registry.env_specs that needs to be changed to gym.envs.registry in whole openai_gym.py file, but there was also errors about assert spec is not None and it was done, as API to specs changed.

@AlexKuhnle AlexKuhnle merged commit 13d6968 into tensorforce:master Aug 14, 2023
@bwarre471
Copy link
Copy Markdown
Contributor Author

bwarre471 commented Aug 15, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants