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. Notably, this includes Apple M1. To install including greenlet, add the asyncio setuptools extra to the pip install command:

greenlet の依存関係は、 greenletpre-built binary wheel を提供しないCPUアーキテクチャでは、デフォルトではインストールされません。特に、 これにはApple M1が含まれますgreenlet を含めてインストールするには、 asyncio setuptools extrapip install コマンドに追加します。

pip install sqlalchemy[asyncio]

詳しい背景については Asyncio Platform Installation Notes (Including Apple M1) を参照してください。