Purpose
This guide explains the procedures for installing RDEToolKit in your Python environment. Multiple installation methods are provided for both development and production use.
Prerequisites
Before installing RDEToolKit, confirm the following:
- Python: Version 3.9 or higher
- pip: Latest version recommended
- Internet Connection: Needed to download packages from PyPI
Checking Your Python Environment
Run:
| python --version
pip --version
|
Steps
1. Standard Installation
Install the stable release from PyPI.
2. Installation with MinIO Support
Install extra dependencies if you use object storage (MinIO).
3. Installation with Plotly Support
Plotly is a visualization library that generates interactive graphs and dashboards (operable dynamically in a web browser). Install extras if you need Plotly features in RDEToolKit.
4. Development Version Installation
Install the latest development version directly from GitHub.
Development Version Notice
Development versions may be unstable. Use the stable release in production.
5. Installation in a Virtual Environment
Create an isolated environment per project.
Verification
Installation Check
| python_console |
|---|
| import rdetoolkit
print(rdetoolkit.__version__)
|
Expected example:
Basic Functionality Test
| test_installation.py |
|---|
| from rdetoolkit import workflows
from rdetoolkit.models.rde2types import RdeInputDirPaths, RdeOutputResourcePath
print("RDEToolKit installation successful!")
|
Troubleshooting
Dependency Conflicts
| ERROR: pip's dependency resolver does not currently take into account all the packages
|
Solution: Use a clean virtual environment
| terminal |
|---|
| python -m venv clean_env
source clean_env/bin/activate
pip install rdetoolkit
|
Next steps: