Skip to content
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

gym (0.9.3),,ImportError: No module named client, from gym.scoreboard.client #17

Closed
dialogchat opened this issue Dec 17, 2017 · 5 comments

Comments

@dialogchat
Copy link

when running this basic import code I get error below

import gym
import gym_pull
gym_pull.pull('github.com/ppaquette/gym-super-mario')        # Only required once, envs will be loaded with import gym_pull afterwards
env = gym.make('ppaquette/SuperMarioBros-1-1-v0')

Traceback (most recent call last):
File "super_mario_1.py", line 2, in
import gym_pull
File "/usr/local/lib/python2.7/dist-packages/gym_pull/init.py", line 40, in
import gym_pull.scoreboard.api
File "/usr/local/lib/python2.7/dist-packages/gym_pull/scoreboard/api.py", line 3, in
from gym.scoreboard.client import resource, util
ImportError: No module named client

@dialogchat dialogchat changed the title ImportError: No module named client, from gym.scoreboard.client gym (0.9.3),,ImportError: No module named client, from gym.scoreboard.client Dec 17, 2017
@Zman94
Copy link

Zman94 commented Jan 10, 2018

I have the same issue. Have you found a solution?

@YunqiuXu
Copy link

YunqiuXu commented Jan 21, 2018

Same problem

[Solved] use gym 0.7.4, after installing gym-pull, you will find gym is upgraded to 0.9.3

@Zman94
Copy link

Zman94 commented Jan 21, 2018

I was able to solve it by installing the package with ``python setup.py installthen importing it withimport ppaquette_gym_super_mario`

@UesugiErii
Copy link

UesugiErii commented May 29, 2018

I installed it according to the following steps:
1.Uninstall your gym if the version not equal 0.7.4
2.Install gym(0.7.4) by command (sudo pip3 install gym==0.7.4)
3.Download or git clone code
4.Manual installation this by command (sudo python3 setup build)&(sudo python3 setup install)


This is more than a gym-mario library,I see another(link: https://github.com/Kautenja/gym-super-mario-bros).
The latter is easier to install,but this can be more customized(such as can accept 64 kinds of action,the latter only can accept 14,and this can select a level)

@ppaquette
Copy link
Owner

Fixed in 0.0.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants