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.error.UnregisteredEnv: No registered env with id: TexasHoldem-v1 #3

Open
patrafter1999 opened this issue Jun 27, 2018 · 2 comments

Comments

@patrafter1999
Copy link

Hi there,

It's a great tool to work with. I was trying to give it a shot, but got an error.

File "/Users/me/Research/Project/dnn-framework/project/ai-contest/holdem/holdem.py", line 21, in
env = gym.make('TexasHoldem-v1') # holdem.TexasHoldemEnv(2)
File "/Users/me/anaconda/envs/tf1.8/lib/python3.6/site-packages/gym/envs/registration.py", line 167, in make
return registry.make(id)
File "/Users/me/anaconda/envs/tf1.8/lib/python3.6/site-packages/gym/envs/registration.py", line 118, in make
spec = self.spec(id)
File "/Users/me/anaconda/envs/tf1.8/lib/python3.6/site-packages/gym/envs/registration.py", line 153, in spect
raise error.UnregisteredEnv('No registered env with id: {}'.format(id))

gym.error.UnregisteredEnv: No registered env with id: TexasHoldem-v1

I just tried the example code in the github. I'm using python 3.6, tensorflow 1.8 and gym 0.10.5. Any clue?

Much appreciated.

@yw10
Copy link

yw10 commented Aug 15, 2018

Have you imported holdem library before gym.make?

@ericntunctu
Copy link

I have a similar issue
image

I am still trying to figure out how to do it.

unaeat pushed a commit to unaeat/holdem that referenced this issue Aug 24, 2020
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

3 participants