Installation Guide
This guide walks you through installing Graphite using uv.
System Requirements
Prerequisites:
- Python >=3.10, < 3.13
- uv
Installation
Graphite can be installed with a single command using uv:
uv add grafi
That's it! Graphite will be installed along with all its dependencies.
Verification
After installation, verify that Graphite is installed correctly:
# Check if the installation was successful
python -c "import grafi; print('Graphite installed successfully')"
Virtual Environment (Recommended)
For better dependency management, it's recommended to install Graphite in a virtual environment:
# Create a virtual environment
uv venv
# Activate the virtual environment
# On Linux/macOS
source .venv/bin/activate
# On Windows:
.venv\Scripts\activate
# Install Graphite
uv add grafi
# When done, deactivate the virtual environment
deactivate
Upgrading
To upgrade to the latest version of Graphite:
uv add --upgrade grafi
Troubleshooting
Common Issues
Dependency Conflicts: If you have dependency conflicts, consider using a virtual environment or:
uv add --force-reinstall grafi
Python Version Issues: Ensure you're using a supported Python version:
python --version
Getting Help
If you encounter installation issues:
- Check the GitHub repository for current documentation
- Look through GitHub Issues for similar problems
- Create a new issue with:
- Your operating system and version
- Python and uv versions
- Complete error messages
Next Steps
Once Graphite is installed, you can start using it in your Python projects:
import grafi
# Your Graphite code here
Check the project documentation for usage examples and API reference.