Requirements
Before installing Metaflow, ensure you have:- Python 3.6 or later (supports Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, and 3.13)
- pip or conda package manager
Installation Methods
- pip
- conda
Install Metaflow from PyPI using pip:This will install Metaflow along with its core dependencies:
requests- for HTTP operationsboto3- for AWS integrations
Verify Installation
After installation, verify that Metaflow is properly installed by running:Optional: Type Stubs
If you’re using a type checker like mypy, you can install type stubs for better IDE support:Test Your Installation
Create a simple test flow to validate your installation:hello.py
For local development, Metaflow works out of the box without any additional configuration. To leverage cloud compute and production orchestrators, you’ll need to configure your infrastructure.
Next Steps
Quickstart
Create your first Metaflow flow in minutes
Tutorial
Learn Metaflow concepts through hands-on examples
Troubleshooting
Python Version Issues
If you encounter Python version compatibility issues, ensure you’re using Python 3.6 or later:Permission Errors
If you get permission errors during installation, try installing with the--user flag:
