Python Installation Instructions

  1. Install Zivid Software

  2. Install Zivid Python. Note: The recommended Python version for these samples is 3.8.

  3. Download Zivid Sample Data

  4. [Optional] Launch the Python IDE of your choice. Read our instructions on setting up Python.

  5. Install the runtime requirements using IDE or command line:

    pip install -r requirements.txt
    
  6. Add the directory source to PYTHONPATH. Navigate to the root of the repository and run:

  • PowerShell: $env:PYTHONPATH=$env:PYTHONPATH + ";$PWD\source"

  • cmd: set PYTHONPATH="$PYTHONPATH;$PWD\source"

  • bash: export PYTHONPATH="$PYTHONPATH:$PWD/source"

  1. Open and run one of the samples.