Installing pyrecodes

The prerequisite for installing pyrecodes is having Python version 3.9.6 installed on your machine.

The simplest way to install pyrecodes is to use pip:

pip install pyrecodes

pyrecodes can also be installed by cloning the source code available on Github.

It’s good practice to use a virtual environment when installing pyrecodes to keep its dependencies isolated from other Python projects on your machine. The repository includes a requirements.txt file in the root directory, which allows you to install all dependencies at once in case you are having trouble with pip installing pyrecodes.

pip install -r requirements.txt

Note

Please note that python version x86_64 is required to run the third-party infrastructure simulators presented in Example 5. Further instructions are available here

Running Examples

To ensure that the installation is successful, please run Example 1 as specified in the Examples page.

All examples are written as Jupyter notebooks and can be run locally or online using Google Colab. More information on installing Jupyter notebooks can be found here.