π¨ Installation¶
Info
TruLens now operates on OpenTelemetry traces. Read more.
TruLens supports Python 3.10 through 3.14. Three packages have a lower upper
bound: trulens-providers-cortex and trulens-connectors-snowflake install on
Python 3.10 through 3.13, and the deprecated trulens-apps-nemo installs on
Python 3.10 through 3.12 only.
These installation instructions assume that you have conda installed and added to your path.
-
Create a virtual environment (or modify an existing one).
conda create -n "<my_name>" python=3 # Skip if using existing environment. conda activate <my_name> -
[Pip installation] Install the trulens pip package from PyPI.
pip install trulens -
[Local installation] If you would like to develop or modify TruLens, you can download the source code by cloning the TruLens repo.
git clone https://github.com/truera/trulens.git -
[Local installation] Install the TruLens repo.
cd trulens pip install -e .