Reputation:
I ran the following code in Google Colab:
from baselines.common.atari_wrappers import make_atari, wrap_deepmind
And got the following error:
ModuleNotFoundError: No module named 'baselines.common'
I tried !pip install baselines, but it didn't fixed the issue.....
Upvotes: 2
Views: 7908
Reputation: 86
This is most likely due to an outdated version. This issue used to be encountered and was later fixed in an update. Updating / Installing the latest version should do the job.
Upvotes: 0
Reputation: 136
try following instruction:
!apt install swig cmake libopenmpi-dev zlib1g-dev
!pip install stable-baselines[mpi]==2.8.0 box2d box2d-kengz
Upvotes: 4
Reputation: 505
Try this
import sys
!{sys.executable} -m pip install baselines
Upvotes: 1