To install the development version directly from GitHub:
git clone https://github.com/your-username/tpcrew.git
cd tpcrew
python setup.py install
Cause: An older TPcrew version is already installed.
Solution: Use --force flag or uninstall first:
tpcrew uninstall --purge
tpcrew install --version=2.1.3 --force
health_checks: interval: 30s scripts: - /opt/tpcrew/checks/disk_space.sh tpcrew install
Option 1: Via pip (recommended)
pip install tpcrew
Option 2: From source
git clone https://github.com/your-repo/tpcrew.git
cd tpcrew
pip install -e .
TPcrew is written in Go, meaning it compiles to a static binary. However, some modules require:
tpcrew version
tpcrew node status
Expected output:
TPcrew version: 2.1.3 (commit: a7d4e9f)
Node ID: tpcrew-node-01
Status: Active | Last heartbeat: 2025-03-15T10:32:11Z
Let's perform a complete installation from scratch. We'll assume a clean Ubuntu 22.04 LTS server.