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 3 Next »

  • 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)

  • Create a virtual environment by first calling pip install virtualenv

  • Open Computer Vision Python or IMACS folder in vscode and in the terminal, type virtualenv cvPython where cvPython is the virtual environment name. (you can also type virtualenv -p python3 cvPython if you want to make sure it's python3)

  • Now a virtualenv called cvPython is created. If you have windows, do .\cvPython\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 ./cvPython/bin/activate

  • You will then see a (cvPython) 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