here is my code:
!pip install box2d-py==2.3.8
import gym
env = gym.make('CarRacing-v0')
The err-msg is:
AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing'
But the same code is ok when colab is using the CPU environment.
here is my code:
!pip install box2d-py==2.3.8
import gym
env = gym.make('CarRacing-v0')
The err-msg is:
AttributeError: module 'gym.envs.box2d' has no attribute 'CarRacing'
But the same code is ok when colab is using the CPU environment.