7.1.2. Python Setup#
While eCAL is written in C++, it also offers a great Python integration. In this chapter we show how to setup Python for eCAL.
First, make sure that you have a Python installation on your system. We’d recommend making use of Python virtual environments to then install the eCAL Python integration.
Install Python 3 on your system.
Windows:
Download and install Python 3 64-bit (https://www.python.org/downloads/)
Ubuntu:
sudo apt install python3 python3-pip
Install the eCAL Python integration.
Choose the appropiate version from the download_archive and download the
.whl
file. Open a command prompt in your download directory and install the Python wheel with:pip install eclipse_ecal-<version>-<python-version>-<architecture>.whl
architecture
is one of the following:win_amd64
,manylinux_2_17_x86_64
andmanylinux_2_17_aarch64
. We currently upload wheels for Python 3.8 - 3.13.
We will soon upload eCAL packages to PyPi for better integration with pip.