-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hey, i install the env but got a exception #7
Comments
@17760875908 what does your code look like? Specifically the |
import gym
import gym_pull
gym_pull.pull('github.com/ppaquette/gym-super-mario')
env = gym.make('ppaquette/SuperMarioBros-1-1-v0')
for i_episode in range(100):
observation = env.reset()
while True:
env.render()
action = env.action_space.sample()
observation, reward, done, info = env.step(action)
print(observation, reward, done, info)
if done:
break
this is my code and log @Zoltar-The-Goat |
you will need to manually add the env to your init file. add
to ~/.local/lib/python3.5/site-packages/gym/envs/init.py I have much experience with this env so please ask if you have any questions. |
@koltafrickenfer your comment did not solve the issue for me. If anyone is running into this issue, see this related thread for solutions. |
you have to register each environment desperately with a different id and entry point. I am sorry I did not make this more clear. |
How do you perform the env = gym.make.... step after you register the environment manually? |
Hello. Can you help me with installing and running up this env? |
gym.error.UnregisteredEnv: No registered env with id: ppaquette/SuperMarioBros-1-1-v0
The text was updated successfully, but these errors were encountered: