huangeddie / GymGo

An environment of the board game Go using OpenAI's Gym API
164 stars 31 forks source link

Explicitly specify gym version 0.20.0 #15

Open RohanM opened 2 years ago

RohanM commented 2 years ago

OpenAI Gym has a number of breaking changes. This gym isn't yet compatible with them, so let's specify the latest version that works.

Steps to reproduce

  1. git checkout master
  2. Install packages in an isolated venv:
rm -r screenshots # interferes with packaging process
pipenv install -e .
pipenv install pyglet scipy sklearn
pipenv shell
python demo.py
  1. You should see an error initialising the gym: gym.error.NameNotFound: Environment 'gym_go:go' doesn't exist.

  2. Reset the repository and check out this branch:

pipenv --rm
rm -r Pipfile* build
  1. Repeat this process
  2. The demo should start