Closed breakds closed 3 years ago
I am a bit confused by the CI/CD. Experiments done:
gym
version to 0.15.3, some tests such as pr2_test
failed with not finding gym
gym
version to 0.12.6, some tests such as pr2_test
failed with not finding gym
gym
back to 0.12.5, all tests seems fileHowever, when I repeat No.1 on my local docker container, it worked fine.
I am a bit confused by the CI/CD. Experiments done:
- Bump
gym
version to 0.15.3, some tests such aspr2_test
failed with not findinggym
- Bump
gym
version to 0.12.6, some tests such aspr2_test
failed with not findinggym
- Revert
gym
back to 0.12.5, all tests seems fileHowever, when I repeat No.1 on my local docker container, it worked fine.
This problem is now resolved. It is caused by:
gym
is removed from /usr/local/lib/python3.6/dist-packages
gym
is installed to /usr/lib/python3.6/site-packages
Note that there is a subtle difference in the path. The (hacky) work around is to add the latter to PYTHONPATH
. However, I do plan to create a new docker image that unifies the testing environment and its python search paths.
Motivation
procgen
environments to alfprocgen
requiresgym >= 0.15
alf
, becausealf
depends onSocialBot
, thegym
version become incompatibleSolution
Bump up the version of
gym
here as well