baselines icon indicating copy to clipboard operation
baselines copied to clipboard

ModuleNotFoundError: No module named 'gym.monitoring'

Open VladislavZavadskyy opened this issue 7 years ago • 9 comments

Module gym.monitoring required by baselines/deepq/experiments/atari/enjoy.py is not present in gym[all] package.

VladislavZavadskyy avatar Feb 13 '18 16:02 VladislavZavadskyy

How to fix this problem? Thanks.

zhan0903 avatar Apr 17 '18 01:04 zhan0903

Even i am also facing the same issue has any one figured out the solution?

dineshresearch avatar Jul 20 '18 19:07 dineshresearch

Yes. Get drunk, and it'll be much easier.

On Fri, 20 Jul 2018, 22:16 Dinesh Kumar Amara, [email protected] wrote:

Even i am also facing the same issue has any one figured out the solution?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openai/baselines/issues/288#issuecomment-406701400, or mute the thread https://github.com/notifications/unsubscribe-auth/AQC6A3A6XegnT6i-pk-VIcXAGoDC-oDOks5uIiyFgaJpZM4SEA5I .

VladislavZavadskyy avatar Jul 20 '18 19:07 VladislavZavadskyy

Maybe you can try

https://github.com/lerrel/gym-adv/tree/master/gym/monitoring

copy the fold and make it a module to be called later on.

GoingMyWay avatar Dec 13 '18 11:12 GoingMyWay

Maybe you can try

https://github.com/lerrel/gym-adv/tree/master/gym/monitoring

copy the fold and make it a module to be called later on.

how to do?

mumuyanyan avatar Sep 29 '20 06:09 mumuyanyan

Maybe you can try https://github.com/lerrel/gym-adv/tree/master/gym/monitoring copy the fold and make it a module to be called later on.

how to do?

Simply, replace the file with https://github.com/lerrel/gym-adv/tree/master/gym/monitoring

GoingMyWay avatar Sep 29 '20 09:09 GoingMyWay

I came across this problem too. My solution is changing the version of gym to an older one. I use pip install "gym==0.9.4" to solve this problems. Good luck~

ChengpengLi1003 avatar Aug 03 '21 07:08 ChengpengLi1003

According to https://github.com/openai/gym/releases/tag/v0.9.6 Developer had Moved gym/monitoring to gym/wrappers/monitoring So for your code you could just change to gym.wrappers.monitoring

Spaxilia avatar May 18 '22 07:05 Spaxilia