System Requirements
Python Version
Python 3.6 or higher
Operating System
Linux, macOS, or Windows
Python Dependencies
The project requires the following Python packages:Core Dependencies
Fromrequirements.txt:
numpy- Numerical computingpickle- Data serialization (standard library)argparse- Command-line argument parsing (standard library)
Installation Steps
Install Python Packages
Install all required dependencies using pip:Or install from the requirements file:
Consider using a virtual environment to isolate project dependencies:
Optional: R Setup for EDM Analysis
For advanced Empirical Dynamic Modeling (EDM) analysis, you’ll need to install R and the rEDM package.Install R
Download and install R from CRAN:
- Linux:
sudo apt-get install r-base(Ubuntu/Debian) - macOS: Download from CRAN or use Homebrew:
brew install r - Windows: Download installer from CRAN
Install rEDM Package
Open R console and install the rEDM package:For more information, visit U.C. San Diego’s Sugihara Lab
Verification
Check Python Environment
Run this command to verify your Python version:Test Script Execution
Verify that the main script can be executed:Troubleshooting
Common Issues
ImportError: No module named 'sklearn'
ImportError: No module named 'sklearn'
This means scikit-learn is not installed. Install it with:
ModuleNotFoundError: No module named 'pandas'
ModuleNotFoundError: No module named 'pandas'
Install pandas:
Python version too old
Python version too old
The scripts require Python 3.6+. Check your version:If using an older version, install Python 3.6 or higher from python.org
Permission denied when installing packages
Permission denied when installing packages
Try using Or use a virtual environment to avoid system-wide installation.
--user flag:Scripts won't run immediately
Scripts won't run immediately
As noted in the project documentation:
“These scripts won’t run immediately when cloning this repo.”Make sure you:
- Have all dependencies installed
- Have properly formatted CAN log data
- Are in the correct directory (Pipeline/)
- Have Python 3.6+ available
Getting Help
If you encounter issues not covered here:- Post questions in the Open Garages Google Group
- Check that your CAN data format matches the expected format (see Quickstart guide)
- Review the example
loggerProgram0.logfile for proper formatting