Installation

Requirements

Python 3.11 or higher

Install from PyPI

You can install better-trace via pip by

python3 -m pip install better-trace

Note

python3 may not be available for Windows, so use python or py

Verify the installation

Run this code to verify if the installation succeeded:

try:
    import better_trace
except ImportError:
    print("Installation failed!")
else:
    print("Installation succeeded!")

If it prints "Installation succeeded!", then the package is installed correctly.

Installation for developers / contributors

Clone the GitHub repository and install it

git clone https://github.com/8er8/better-trace.git
cd better-trace

Install in editable mode:

python3 -m pip install -e .

Upgrading

Installed via PyPI

python3 -m pip install --upgrade better-trace

Installed via git clone

git pull