-
Notifications
You must be signed in to change notification settings - Fork 918
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
module 'pyspiel' has no attribute 'GameInfo' #503
Comments
We are going to need more. Can you send us a link to the code, or copy it here? Did you start by copying an existing game? |
I copied the code provided in tic_tac_toe.py into a Jupyter notebook and got the error |
Did you use pip to install OpenSpiel? If so, that will be why. We only added |
Yes I did use pip . |
Ah yeah that won't work, the python game structure is too new. You will have to build from source or use the old python tic_tac_toe.py in the 0.2.0 release. It would make sense to do a minor release to update the pip version since the recent python game overhaul. I will do it in the next few weeks, please leave the issue open for me as a reminder. |
Just a quick update that I'm putting together a release in order to fix this. It necessitated a few other fixes (like #507 and 13c81e5), and I wrote a test script for the pip packages-- which caught said things :) ... anyway, it'll be large enough that we're going to stamp it as 0.3.0. So, if not next week then hopefully the week after. |
Ok, we've put out a release: #512, which should fix this. Full details: https://github.com/deepmind/open_spiel/releases/tag/v0.3.0 (You will need to uninstall your pip package and re-install it.) |
Error thrown when trying to declare the GameInfo of a custom game
The text was updated successfully, but these errors were encountered: