Installation¶
The library requires Python 3.
The dependencies are listed in \requirements.txt. If you are using pip, you can install them by
$ pip install -r requirements.txt
To use the library, you can choose among the following options.
Option 1: Install the library by setuptools¶
From the main folder of this repository run:
$ pip install .
Option 2: Add the library path to Python paths¶
Option 3: Add the library path within your python script¶
Put the following lines at the beginning of your Python script:
import sys
sys.path.append("/path/to/cardioemulator")
import cardioemulator