Installation

Prerequisites

  • Python 3.12 or later

  • Conda (recommended) or pip

Installation Methods

Method 2: Install from Source with venv

If you prefer using Python’s built-in virtual environment:

  1. Clone the repository:

    git clone https://github.com/daniloceano/LorenzCycleToolkit.git
    cd LorenzCycleToolkit
    
  2. Create a virtual environment and activate it:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Install the package in editable mode:

    pip install -e .
    
  5. 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 lorenz

  • For 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