In this chapter, we will be utilizing TensorFlow in Python. We will also be using the OpenAI gym to test our algorithms.
OpenAI gym is an open source toolkit for developing and testing reinforcement learning algorithms. Written in Python, there are environments from Atari games to robot simulations. As we develop reinforcement learning algorithms in this chapter and later chapters, gym will give us access to test environments that would otherwise be very complicated to construct on our own.
You will need either a macOS or Linux environment to run gym. You can install gym by running a simple pip install command:
pip install gym
You should now have gym installed! If you've run into an error, you may have dependency issues. Check the official gym GitHub repo for the latest dependencies (https://github.com/openai/gym).