RL-minicourse (setup)

Downloads

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).

Miniconda and PyCharm

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++:

Setup Miniconda

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.

Setup PyCharm

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.

  • Select the PyCharm directory inside the directory RL-minicourse-2022.
  • Remove "PyCharm Community Edition 2022.2.3" at the end of the path. The installation path should finish by "PyCharm".

  • Drag and Drop PyCharm the directory RL-minicourse-2022 directory.

Run the installer in your terminal.

Create a first project on PyCharm

Now that both Miniconda3 and PyCharm are setup, we are going to link them.

Download RL and deep learning packages

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.

Congratulations, you are ready for the course!

If you encounter an error, feel free to email contact@matthieu-zimmer.net with the details.




Troubleshooting

If you received an error on the last step to install RL and deep learning packages, you can try the following:

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 .