Installation¶
Stable release¶
To install HVL Common Code Base, run this command in your terminal:
$ pip install hvl_ccb
To install HVL Common Code Base with optional Python libraries that require additional external libraries installations like tiepie or labjack, specify on installation extra features you want by running e.g. this command in your terminal:
$ pip install hvl_ccb[tiepie,labjack]
This is the preferred method to install HVL Common Code Base, as it will always install the most recent stable release.
If you don’t have pip installed, this Python installation guide can guide you through the process.
From sources¶
The sources for HVL Common Code Base can be downloaded from the GitLab repo.
You can either clone the repository:
$ git clone git@gitlab.com:ethz_hvl/hvl_ccb.git
Or download the tarball:
$ curl -OL https://gitlab.com/ethz_hvl/hvl_ccb/-/archive/master/hvl_ccb.tar.gz
Once you have a copy of the source, you can install it with:
$ pip install .
Additional system libraries¶
Please note that for some of the dependencies, like e.g. for labjack-ljm
or python-libtiepie
, you
may need to separately install additional system libraries.
For LJM Library please make sure that you have installed version
2019_02_14
or higher.