Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.59 KB

man_host_setup.md

File metadata and controls

38 lines (32 loc) · 1.59 KB

HOST Machine operator setup manual

These are instructions on how to setup your own machine to run the software we use in the GUI application. If you're looking for the GUI Operator's manual, that is a separate file.

Windows:

  • Install Python 3.7
  • Install Git
  • Check for pip installation python3 -m pip --version
  • Install pip from here if not installed
  • Install dependency libraries for the GUI
  • pip install grpcio==1.38.0 opencv-python==4.5.1.48 google-api-python-client==2.8.0 pillow==8.2.0 pygame==2.0.1

Linux:

  • sudo apt-get update
  • sudo apt-get install git python3-dev
  • In addition to installing python dependencies below, install contrib AFTER OPENCV: ``
  • Check for pip installation sudo python3 -m pip --version
  • Install pip if not installed: sudo apt-get install python3-pip
  • Install dependency libraries for the GUI
  • sudo pip install grpcio==1.38.0 opencv-python==4.5.1.48 opencv-contrib-python==4.5.2.54 google-api-python-client==2.8.0 pillow==8.2.0 pygame==2.0.1
  • Install opencv dependencies
  • apt-get install libgl1-mesa-dev libglib2.0-0 libsm6 libxrender1 libxext6

Git

  • git clone <this repo>
  • cd <this repo>
  • git init
  • git fetch
  • git checkout <whatever branch GUI is on>

Running on Windows:

  • tools/scripts/setup_win.bat
  • python3 gui/main.py

Running on Linux:

  • . setup.sh
  • python3 gui/main.py