First, create a directory on your computer where the software and the project files will be stored.
For the rest of this document, we will name it RL-minicourse-2022.
Download the following two files for your OS inside RL-minicourse-2022 (right click, save link as).
Do not create the directory RL-minicourse-2022 in the Desktop, it may lead to issues later.
Optional: If you want to run the most advanced environment, make sure you enabled C++:
Miniconda is used to install python on your computer.
Create a directory Miniconda3 inside the directory RL-minicourse-2022.
Run the miniconda installer and follows the instructions.
Run the installer in your terminal.
PyCharm is an IDE to write python scripts.
Create a directory PyCharm inside the directory RL-minicourse-2022.
Run the pycharm installer and follows the instructions.
Run the installer in your terminal.
Now that both Miniconda3 and PyCharm are setup, we are going to link them.
You should now be able to execute and write python scripts with your computer.
The final step consists of downloading deep learning and RL packages automatically with Pycharm.
torch ray[rllib]==1.12.1 gym Box2D matplotlib tensorboard redis gym-super-mario-bros
Congratulations, you are ready for the course!
If you encounter an error, feel free to email contact@matthieu-zimmer.net with the details.
If you received an error on the last step to install RL and deep learning packages, you can try the following:
.\venv\Scripts\pip3.exe install -r .\requirements.txt
If you have not followed the same path as described in those guidelines, it might not work because pip3.exe is elsewhere.
Try
~\.conda\envs\DemoProject\Scripts\pip3.exe install -r .\requirements.txt
.