Skip to content

Latest commit

 

History

History
59 lines (36 loc) · 2.11 KB

installation.md

File metadata and controls

59 lines (36 loc) · 2.11 KB

Installation Instructions

Install Python

Download and install Python 3.9.13

Note - If you change the install options, be sure you still install pip and tkinter:

Install Additional Python Packages

Download additional packages by running this command in the directory where you just installed Python:

pip3 install matplotlib==3.8.3 numpy==1.26.4 scipy==1.12.0

For example:

Download Deep Racer Guru

Either:

  • Download the latest release zip file from the Releases section of Github
  • Unzip the entire contents of the zip file into a convenient location

Or:

  • Git "clone" the Source code directly from Github
  • Make sure you use the master branch to run the most recent released code

Launch Deep Racer Guru

Manual Launch

Run it manually using the following example commands:

cd C:\DRG-Demo\projects\deep_racer_guru
C:\DRG-Demo\python\3.9.13\python.exe -m src.main.guru

On some platforms such as AppleMac it may be necessary to run using "python3" to ensure to correct version is used:

python3 -m src.main.guru

Note:

  • You must "cd" to the root directory/folder where you unzipped or cloned the Deep Racer Guru code
  • If you are in the right place, it contains the README.md file and several sub-directories/folders including src
  • Make sure you are running exactly the copy of Python that was installed in the previous steps (check the path carefully)
  • Obviously you may want to create a simple batch/shell script for this

Using an IDE

Configure the IDE to use the version of Python interpreter that you installed in the previous steps.

As an example, here is a screenshot from PyCharm:

Then you can simply "run" the main application from the src/main/guru.py file

Again as an example, here is a screenshot from PyCharm: