Installation
Prerequisites
Python 3.12 or later
Conda (recommended) or pip
Installation Methods
Method 1: Install from Source with Conda (Recommended)
If you want to contribute to the project or modify the code, follow these steps:
Clone the repository:
git clone https://github.com/daniloceano/LorenzCycleToolkit.git cd LorenzCycleToolkit
Create a Conda environment with Python 3.12:
conda create --name lorenz python=3.12 -y conda activate lorenz
Install dependencies:
pip install -r requirements.txt
Install the package in editable mode:
pip install -e .
Verify the installation:
lorenzcycletoolkit --help
Method 2: Install from Source with venv
If you prefer using Python’s built-in virtual environment:
Clone the repository:
git clone https://github.com/daniloceano/LorenzCycleToolkit.git cd LorenzCycleToolkit
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
Install dependencies:
pip install -r requirements.txt
Install the package in editable mode:
pip install -e .
Verify the installation:
lorenzcycletoolkit --help
Troubleshooting
Issue: Command lorenzcycletoolkit not found after installation.
Solution: Make sure you’ve activated the correct environment:
For Conda:
conda activate lorenzFor venv:
source venv/bin/activate
Issue: ModuleNotFoundError: No module named 'lorenzcycletoolkit'
Solution: Install the package using pip install -e . (for development) or pip install LorenzCycleToolkit (for regular use).
Issue: Tests failing with import errors.
Solution: Ensure all dependencies are installed by running pip install -r requirements.txt in your activated environment