Technical requirements
The code in this book has been extensively tested on Ubuntu 18.04 and Ubuntu 20.04, which means it should work with later versions of Ubuntu if Python 3.6+ is available. With Python 3.6+ installed, along with the necessary Python packages listed in the Getting ready sections of each recipe, the code should run fine on Windows and Mac OSX too. It is advised that you create and use a Python virtual environment named tf2rl-cookbook
to install the packages and run the code in this book. Installing Miniconda or Anaconda for Python virtual environment management is recommended. You will also need to install the Chromium chrome driver on your system. On Ubuntu 18.04+, you can install it by using the sudo apt-get install chromium-chromedriver
command.
The complete code for each recipe in each chapter will be available here: https://github.com/PacktPublishing/Tensorflow-2-Reinforcement-Learning-Cookbook.