Vision Installation

Instructions written in this font should be run inside Mac Terminal/Windows Command Prompt.

Python

  1. Check if already installed
    • Run python3 -V.
    • If it prints "Python 3.7..." or greater (e.g. 3.9), Python is installed
  2. Installation
    • MacOS
      • Install Xcode developer tools (which includes Python and other useful tools)
      • Run xcode-select --install
    • Windows
      • Search and install "Python 3.7" from the Microsoft Store
        • Make sure you're installing 3.7, not 3.8 or 3.9
    • Linux
      • Install using your distro's package manager
      • e.g. apt, pacman, etc.
  3. Check if properly installed
    • Follow step 1

OpenCV

  1. Install OpenCV
    • Run pip3 install opencv-python
      • May take a while
  2. Check if properly installed
    • Run python3 -c "import cv2; print('Successfully installed')"