InstallationΒΆ

DTCC Platform can be installed using pip.

To install from the Python Package Index (PyPI):

$ pip install dtcc

To install from the source directory:

$ pip install .

Note

Sometimes pip and python may be out of sync which means that pip will install a package in a location where it will not be found by python. It is therefore safer to replace the pip command by python -m pip:

$ python -m pip install [ package-name or . ]

Note

A bug in Ubuntu 22.04 prevents PEP621 compliant Python projects from installing properly with pip, resulting in package name and version number UNKNOWN-0.0.0. To fix this, run the following commmand before pip install:

$ export DEB_PYTHON_INSTALL_LAYOUT=deb_system