Stability-AI / stability-sdk

SDK for interacting with stability.ai APIs (e.g. stable diffusion inference)
https://platform.stability.ai/
MIT License
2.41k stars 339 forks source link

Unable install grpcio 1.53.0 #275

Closed zeonagames closed 2 months ago

zeonagames commented 5 months ago

I am getting error when I install grpcio 1.53.0, I have already 1.60.1 but It doesnt work with stabilityai-sdk.

ERROR: Failed building wheel for grpcio Failed to build grpcio ERROR: Could not build wheels for grpcio, which is required to install pyproject.toml-based projects

How can I fix this ?

fygy10 commented 5 months ago

you need to use an older version of python: 3.10 or 3.11 (in a virtual environment). grpcio 1.53 is not compatible with the newest python 31.12 it seems