Installation

VizTracer works with python 3.9+ on Linux/MacOs/Windows. No other dependency. For now, VizTracer only supports CPython.

The preferred way to install VizTracer is via pip

pip install viztracer

You can also install with conda

conda install conda-forge::viztracer

// Or if you already have conda forge set up
conda install viztracer

You can also download the source code and build it yourself.

Even though VizTracer functions without any other packages, orjson could improve the performance of json dump/load.

pip install orjson

Or you can install full version of viztracer:

pip install viztracer[full]