EDIT: Looks like this was addressed by this, https://github.com/pfnet/pfrl/pull/167. But the content belows seems to show that installing pfrl from pypi does not work. Could we have a new release?
If you install pfrl and then try to import pfrl, it does not work. To reproduce with conda:
ImportError: cannot import name 'Monitor' from 'gym.wrappers' (/Users/prabhat/miniconda3/envs/testenv/lib/python3.8/site-packages/gym/wrappers/__init__.py)
EDIT: Looks like this was addressed by this, https://github.com/pfnet/pfrl/pull/167. But the content belows seems to show that installing
pfrl
frompypi
does not work. Could we have a new release?If you install
pfrl
and then try to importpfrl
, it does not work. To reproduce with conda:Then:
The error should be:
I think the problem is simply that
Monitor
is not supported in the latest gym, but pfrl does not constrain the latest gym version. I think the longer-term solution is here: https://github.com/openai/gym/issues/2674#issuecomment-1064121293