Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Document is currently somewhat out of date. Please update Mihir Gupta (Unlicensed)Amy HuAydan Jiwani (Deactivated) . For questions please ping Autonomy Leads. If a newer version of this document exists please archive this one in Confluence and be sure the general onboarding document https://uwarg-docs.atlassian.net/l/cp/N8Kd6UPC links to the correct place.ARCHIVE DO NOT USE

  • Find a directory on your pc and git clone https://github.com/UWARG/computer-vision-python or https://github.com/UWARG/IMACS depending on which project you want to work on (make sure you config your git first)

  • to clone git submodules run command git submodule update --init --recursive and git submodule update --remote

  • Download Python 3.8.10 (keeping only one version of python will make your life so much easier)

  • Open Computer Vision Python or IMACS folder in vscode and create a virtual environment in the terminal:

    • python3 -m venv venv/

  • Activate the virtual environment:

    • Windows command prompt: venv\Scripts\activate.bat

    • Windows Powershell: venv\Scripts\Activate.ps1

    • Linux and MacOS: source venv/bin/activate

  • You will then see a (venv) in front of your command line, this means you are in the virtual environment

  • Now pip install -r requirements.txt will install everything you need