Installation
Requirements
JAFF requires python>=3.. Check your Python version:
Installation
Managing virtual environments
Although JAFF can be installed in a variety of ways, it is encouraged to use uv to install JAFF and manage its virtual environment.
We recommend installing JAFF inside a virtual environment to avoid conflicts with other packages.
1. Create and activate a virtual environment
2. Install from source
Verifying Installation
After installation, verify that JAFF is working correctly:
# Check JAFF version
python -c "import jaff; print(jaff.__version__)"
# Test the code generator CLI
jaffgen --help
You should see the JAFF code generator help message.
Available Commands
After installation, JAFF provides the following command-line tools:
jaffx- Quick command executor
jaffgen- Code generator for chemical reaction networks
Troubleshooting
ImportError: No module named 'jaff'
Make sure you've activated your virtual environment and that the installation completed successfully.
NumPy/SciPy Installation Issues
On some systems, if you are using pip, you may need to install NumPy, SciPy,
and Astropy separately:
Updating JAFF
JAFF is installed from source, so update by pulling the latest changes and reinstalling:
Uninstalling
To remove JAFF from your system/venv:
Next Steps
Now that JAFF is installed:
- Quick Start: Follow the Quick Start Guide to run your first network analysis
- Basic Concepts: Learn about chemical networks and reactions
- User Guide: Explore detailed usage documentation
- Developer Guide: If you want to contribute or develop JAFF, see the Developer Installation Guide