Versions Compared

Key

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

TODO UPDATE THISARCHIVE 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/

    Now a virtualenv called cvPython is created. If you have windows, do .\
  • Activate the virtual environment:

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

    • Windows Powershell: venv\Scripts\Activate.ps1

    (in case your systems says Execution of script is not available, open Powershell with run as Admin and type powershell Set-ExecutionPolicy RemoteSigned). If you have Mac/Linux, you can just do source ./
    • 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