Installation¶
Requirements¶
- Python 3.8 or higher
- pip package manager
- Google Earth Engine account
- Google Cloud Project
Installation Methods¶
Option 1: Install from GitHub (Recommended)¶
This will install the latest version directly from the GitHub repository.
Option 2: Install from Wheel File¶
If you have downloaded the wheel file:
Option 3: Install from Source¶
For development or customization:
# Clone the repository
git clone https://github.com/pulakeshpradhan/deepgee.git
cd deepgee
# Install in development mode
pip install -e .
Option 4: Install with TensorFlow¶
To include TensorFlow for deep learning:
Dependencies¶
DeepGEE will automatically install the following dependencies:
Core Dependencies¶
earthengine-api>= 0.1.300geemap>= 0.20.0numpy>= 1.20.0pandas>= 1.3.0rasterio>= 1.2.0matplotlib>= 3.4.0seaborn>= 0.11.0scikit-learn>= 1.0.0joblib>= 1.0.0
Optional Dependencies¶
tensorflow>= 2.10.0 (for deep learning)torch>= 1.12.0 (for PyTorch support)
Verify Installation¶
After installation, verify that DeepGEE is installed correctly:
import deepgee
# Check version
print(deepgee.__version__)
# Output: 0.1.0
# Check available modules
print(dir(deepgee))
# Output: ['GEEDataDownloader', 'LandCoverClassifier', ...]
Google Earth Engine Setup¶
Before using DeepGEE, you need to set up Google Earth Engine:
1. Sign Up for GEE¶
- Visit Google Earth Engine
- Click "Sign Up"
- Sign in with your Google account
- Wait for approval (usually 24-48 hours)
2. Create a Google Cloud Project¶
- Go to Google Cloud Console
- Create a new project
- Note your project ID (e.g.,
my-gee-project-123456) - Enable the Earth Engine API for your project
3. Authenticate (First Time Only)¶
Follow the prompts to complete authentication.
Troubleshooting¶
Import Errors¶
If you encounter import errors:
# Reinstall dependencies
pip install -r requirements.txt
# Install TensorFlow if needed
pip install tensorflow
GEE Authentication Issues¶
If authentication fails:
# Try re-authenticating
deepgee.authenticate_gee()
# Check status
status = deepgee.auth.check_gee_status()
print(status)
Permission Errors¶
If you get permission errors during installation:
Upgrading¶
To upgrade to the latest version:
Uninstalling¶
To uninstall DeepGEE:
Next Steps¶
- Quick Start Guide - Get started with DeepGEE
- GEE Setup - Detailed GEE configuration
- User Guide - Comprehensive documentation
Getting Help¶
If you encounter any issues:
- Check the User Guide
- Review Examples
- Open an Issue on GitHub
- Email: pulakesh.mid@gmail.com