System Requirements
Python Version
- Python 3.9 or higher is required
- Python 3.10 or 3.11 recommended for best performance
Operating System
ML Experiment Autopilot works on all major platforms:- macOS 10.15+
- Linux (Ubuntu 20.04+, Debian 10+, CentOS 8+, etc.)
- Windows 10/11 (with WSL2 recommended for best experience)
Hardware
- Minimum: 4GB RAM, 2 CPU cores
- Recommended: 8GB+ RAM, 4+ CPU cores for larger datasets
- Disk Space: 500MB for installation + space for your datasets and outputs
Installation Methods
Method 1: Git Clone (Recommended)
This method gives you access to sample datasets and full project structure.Create virtual environment
Using a virtual environment is strongly recommended to avoid dependency conflicts.
On Windows, if you get a script execution policy error, run:
Install dependencies
google-generativeai>=0.8.0- Gemini 3 APIpandas>=2.0.0- Data manipulationnumpy>=1.24.0- Numerical computingscikit-learn>=1.3.0- ML algorithmsxgboost>=2.0.0- Gradient boostinglightgbm>=4.0.0- Gradient boostingmlflow>=2.10.0- Experiment trackingtyper>=0.9.0- CLI frameworkrich>=13.0.0- Terminal formattingpydantic>=2.0.0- Data validationmatplotlib>=3.7.0- Visualizationsjinja2>=3.1.0- Code templatingpython-dotenv>=1.0.0- Environment management
Method 2: Download ZIP
If you don’t have Git installed:Download
Download the ZIP file from GitHub releases
Configuration
Gemini API Key Setup
Get your API key
- Visit Google AI Studio
- Sign in with your Google account
- Click “Create API Key”
- Copy the generated key
Environment Variables Reference
| Variable | Required | Default | Description |
|---|---|---|---|
GEMINI_API_KEY | Yes | - | Your Gemini API key from AI Studio |
MLFLOW_TRACKING_URI | No | ./outputs/mlruns | MLflow tracking database location |
LOG_LEVEL | No | INFO | Logging verbosity: DEBUG, INFO, WARNING, ERROR |
Directory Structure
After installation, your directory will look like:The
outputs/ directory is automatically created when you run your first experiment. All generated files go here.Testing Your Installation
Run the test suite to ensure everything is working:Integration Tests
To run integration tests that call the Gemini API:Upgrading
To upgrade to the latest version:Uninstallation
Troubleshooting Installation
Common Issues
ModuleNotFoundError: No module named 'src'
ModuleNotFoundError: No module named 'src'
Problem: Running the script incorrectly.Solution: Always run as a module:
pip install fails with compilation errors
pip install fails with compilation errors
Problem: Missing build tools for packages like Ubuntu/Debian:Windows: Install Visual Studio Build Tools
lightgbm or xgboost.Solution:macOS:GEMINI_API_KEY not found error
GEMINI_API_KEY not found error
Problem: Environment file not loaded or missing.Solution:
- Ensure
.envfile exists in project root - Check that
GEMINI_API_KEY=...is set (no spaces around=) - Verify you’re running from the project root directory
SSL certificate verification failed
SSL certificate verification failed
Problem: Corporate firewall or proxy blocking HTTPS.Solution: Configure proxy in
.env:Python version too old
Python version too old
Problem: System Python is < 3.9.Solution: Install a newer Python:macOS (using Homebrew):Ubuntu/Debian:Then use
python3.11 instead of python3 in commands.Docker Installation (Alternative)
For a containerized setup:Dockerfile
Next Steps
Quickstart Guide
Run your first experiment
CLI Reference
Complete command-line documentation
Configuration
Advanced configuration options
Architecture
Understand how the system works