Python SDK Installation
Make sure you are running:
Python 3.9or above
- One of the following OS:
- macOS (≥ 10.9)
- Windows (any version supporting 64bit)
- Linux (any version supporting 64bit)
Decentriq suggests using the SDK from a clean Python environment.
Follow the instruction below to proceed with the environment creation and the installation:
Open a terminal window.
Create a new directory and navigate into it.
Create a new virtual environment to install into. You can use, for instance, Python's own
python -m venv env
Make sure that you have the latest version of pip installed:
pip install --upgrade pip
pip install decentriq_platform
Test that the installation was successful. The following shouldn't print an error:
python -c "import decentriq_platform"
In your Python script or Jupyter notebook, import the Decentriq library:
import decentriq_platform as dq
Follow the Getting started tutorial to create Data Clean Rooms and start collaborating on data.