Python Installation
Requirements
- Python 3.10 or higher
- pip or pipx
Installation
pip install cldpmVerify Installation
cldpm --versionDependencies
The Python SDK uses the following dependencies:
| Package | Purpose |
|---|---|
| click (opens in a new tab) | CLI framework |
| pydantic (opens in a new tab) | Schema validation |
| rich (opens in a new tab) | Terminal formatting |
| jinja2 (opens in a new tab) | Template rendering |
Upgrading
pip install --upgrade cldpmUninstalling
pip uninstall cldpmTroubleshooting
Command not found
If cldpm is not found after installation, ensure pip's bin directory is in your PATH:
# Check where pip installs scripts
python -m site --user-base
# Add to PATH (bash/zsh)
export PATH="$PATH:$(python -m site --user-base)/bin"Permission errors
Use --user flag or pipx to avoid permission issues:
pip install --user cldpm
# or
pipx install cldpmPython version
CLDPM requires Python 3.10+. Check your version:
python --version