Release: 2.0.45
current release
| Release Date: December 9, 2025
SQLAlchemy 2.0 Documentation
Installation¶
I’m getting an error about greenlet not being installed when I try to use asyncio¶
The greenlet dependency does not install by default for CPU architectures
for which greenlet does not supply a pre-built binary wheel.
To install including greenlet,
add the asyncio setuptools extra
to the pip install command:
pip install sqlalchemy[asyncio]For more background, see Asyncio Platform Installation Notes (Including Apple M1).
Previous:
Frequently Asked Questions
Next:
Connections / Engines
© Copyright 2007-2026, the SQLAlchemy authors and contributors.
flambé! the dragon and The Alchemist image designs created and generously donated by Rotem Yaari.
Created using Sphinx 9.1.0. Documentation last generated: Fri 16 Jan 2026 11:05:52 AM EST