Installation
Get finchGE up and running in minutes. Follow the steps below to install and verify your setup.
Quick Install
Set up a virtual environment (recommended)
Using a virtual environment helps avoid dependency conflicts.
The quickest way to get started:
Verify the installation:
Installation Options
Standard Installation
# Latest stable version from PyPI
python -m pip install finchge
# Specific version (e.g., beta release)
python -m pip install finchge==1.0.1-beta.12
With Optional Dependencies
finchGE supports optional integrations with pytorch for use cases such as Hyperparameter search, Neural Architecture Search etc.:
From Source (Development)
If you want to contribute or need the latest features:
# Clone the repository
git clone https://github.com/finchGE/finchge.git
cd finchge
# Install setup tools if not already installed
python -m pip install -U pip setuptools wheel
# Install in development mode
python -m pip install -e ".[dev]"
# Or install with specific optional dependencies
python -m pip install -e ".[pytorch]"
Using Conda (Alternative)
# Create and activate a new environment
conda create -n finchge python=3.9
conda activate finchge
# Install via pip in conda environment
python -m pip install finchge
System Requirements
Python Versions
finchGE supports and the following Python versions 3.10+. Please check our Github Repo for any updates or known compatibility issues.
Dependencies
Dependencies are installed during installation.
numpy: ">=1.21.0" # Numerical operations
matplotlib: ">=3.5.0" # Visualization
pandas: ">=1.3.0" # Data handling (optional but recommended)
tqdm: ">=4.0.0" # Progress bars
scikit-learn: ">=1.0.0" # Machine learning integration and Evaluation Metrics
Optional Dependencies
Next Steps
After successful installation:
- Try the Getting Started Guide - Run your first Grammatical Evolution program
- Explore Examples - See example use cases
- Check the API docReference - Learn about all available features
Need Help?
If you encounter issues during installation:
- Check the GitHub Issues - See if others have similar problems
- Create a New Issue - Report your specific problem
- Check Python Version - Ensure you're using Python 3.8 or higher
- Update pip - Run
python -m pip install --upgrade pip
Pro Tip
For hassle-free use and reproducibility, pin your working dependencies in a requirements.txt file:
python -m pip install -r requirements.txt
This ensures consistent results across different environments and over time.
Ready to start? Getting Started