Computer Vision Setup Procedure (Windows) - Carleton-SRCL/SPOT GitHub Wiki

Windows Users

  1. Clear Python

    • Delete all current versions of Python on your computer, otherwise VScode will get confused and try to run the latest version.
  2. Install Python

  3. Install pip

    • pip is automatically installed on Python version 3.8.10. Check if pip is already installed:
    pip help
    
    • If installed, you will receive a message explaining how to use the program. If not, it can be installed by running:
    python get-pip.py
    
    pip --version
    
    • Confirm that this is the newest version of pip or update to the newest version by running:
    python -m pip install --upgrade pip
    
  4. Install VSCode

    • A comprehensive guide to downloading/installing VSCode can be found at: https://code.visualstudio.com/docs/languages/python
    • Set up your working folder in VSCode to store your files and such.
    • To check which version of Python you are using, type the following within the terminal:
    python --version
    
    • Press Ctrl+Shift+P, select "Python: Select Interpreter", and select "Python Version 3.8".
    • Running the previous command in the terminal should now show Python 3.8.10.
  5. Ensure wheels are up to date

    • Within the terminal of VScode, run:
    python -m pip install --upgrade pip setuptools wheel
    
  6. Download Numpy

    • Within the terminal of VScode, run:
    python -m pip install numpy
    
  7. Download openCV

    • Within the terminal of VScode, run:
    python -m pip install opencv-contrib-python
    
    • This could take about 30 min to an hour.

You have now installed all required libraries!

Click here to go BACK