add gym version to setup.py to enforce a version compatible with stable baselines3
add warning in message in setup.py and examples/train.py if the python version is different than the one used by kaggle's environment. It's only a warning as it doesn't block training but may create issues when submitted to kaggle
This should help new users get the right versions and submit to kaggle with less issues.
Note: the os.system("") call was recommended in this SO post to work with Windows too.
What
gym
version tosetup.py
to enforce a version compatible with stable baselines3setup.py
andexamples/train.py
if the python version is different than the one used by kaggle's environment. It's only a warning as it doesn't block training but may create issues when submitted to kaggleThis should help new users get the right versions and submit to kaggle with less issues.
Note: the
os.system("")
call was recommended in this SO post to work with Windows too.