glmcdona / LuxPythonEnvGym

Matching python environment code for Lux AI 2021 Kaggle competition, and a gym interface for RL models.
MIT License
73 stars 38 forks source link

QoL: freeze SB3/gym lib version, fix warning on python version #95

Closed royerk closed 2 years ago

royerk commented 2 years ago

My apologies for the repeated PRs. These new changes should offer a smoother experience for new users or an install to a new environment. Related issue #93

The last version had 2 issues:

  1. warning was triggered regardless of the python's version (my mistake)
  2. setting gym<0.20.0. is not enough to ensure compatibility with stable_baselines3. I tested gym==0.17.0 which is the lowest acceptable version for the current stable baselines lib (see here) but it broke the PPO.load(...) part of the kaggle's submission (error on Box)

This PR introduces: