Installation

Prev Next

Installation

The installation of Chromasens Python SDK is handled with the Python package index tool PyPi. To handle multiple projects without dependency conflicts it’s recommended (but not required) to use a virtual environment for your project with Chromasens components.

For the installation please perform the following steps:

  1. Install a Python interpreter (version ≥ 3.9.2)
    Therefore visit https://www.python.org/downloads/windows/

  1. Create a virtual environment. (recommended)
    In this manual, the Python default package venv is used. It is recommended to use a virtual environment but not required.
    Execute the following commands in the command prompt.
    Find more detailed information here: https://docs.python.org/3/library/venv.html

python -m venv /path/to/new/virtual/environment
  1. Activate your virtual environment. (recommended)
    To install your Python packages in the venv the venv must be activated.

<venv>\Scripts\activate.bat
  1. Install the Chromasens Python SDK with PIP.
    Visit https://pypi.org/project/Chromasens-Python-SDK/ for version control and more information.

pip install Chromasens-Python-SDK
  1. To use Chormasens GenICam devices please install the latest version of GCT.
    It is recommended to use the default installation directory. Otherwise, the path .csi file must be specified in the Python application.  

    https://chromasens.de/sites/default/files/download-media/GCT_win64_v2.7.0.exe