Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

TODO UPDATE THIS

  • 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 .\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 ./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

  • No labels