user14349917
user14349917

Reputation:

ModuleNotFoundError: No module named 'baselines.common'

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

Answers (3)

OneCoolBoi
OneCoolBoi

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

amirt4
amirt4

Reputation: 136

try following instruction:

!apt install swig cmake libopenmpi-dev zlib1g-dev
!pip install stable-baselines[mpi]==2.8.0 box2d box2d-kengz

from

Upvotes: 4

Sagun Devkota
Sagun Devkota

Reputation: 505

Try this

import sys
!{sys.executable} -m pip install baselines

Upvotes: 1

Related Questions