gym-soccer
gym-soccer copied to clipboard
how to use gym-soccer
I have installed gym-soccer and I want to create the gym-soccer environment by running: import gym env = gym.make('Soccer-v0')
but it failed. What's the problem? I didn't find any examples using gym-soccer.
You can also instantiate the class directly. Clone the repository, and in root folder:
from gym_soccer import envs
env = envs.soccer_empty_goal.SoccerEmptyGoalEnv()
Might have an easier way... I've just installed it and started to play with
Same for soccer_env.SoccerEnv and soccer_against_keeper.SoccerAgainstKeeperEnv
An alternative way:
import gym_soccer
import gym
env = gym.make('Soccer-v0')
Are the gym_soccer environments supposed to be registered automatically by gym by doing the "pip install -e ." command, or are there any manual steps required after that?