From 98929ef52872a391e818b2c0e726b50c011f5758 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= Date: Tue, 30 Jan 2024 18:06:36 +1300 Subject: [PATCH] Replace gym with gymnasium --- requirements.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/requirements.txt b/requirements.txt index 47f10ea..5a8674a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -28,7 +28,7 @@ transformers~=4.35.0 # installation instructions. tensorflow~=2.14.0 -keras-core + # Optional: the TF Serving API library is just needed for chapter 18. tensorflow-serving-api~=2.14.0 # or tensorflow-serving-api-gpu if gpu @@ -43,9 +43,9 @@ keras-tuner~=1.4.6 ##### Reinforcement Learning library (chapter 18) # There are a few dependencies you need to install first, check out: -# https://github.com/openai/gym#installing-everything -gym[Box2D,atari,accept-rom-license]~=0.26.2 - +# https://github.com/Farama-Foundation/Gymnasium +swig~=4.1.1 +gymnasium[Box2D,atari,accept-rom-license]~=0.29.1 # WARNING: on Windows, installing Box2D this way requires: # * Swig: http://www.swig.org/download.html # * Microsoft C++ Build Tools: