# pip install stability-sdk fails on Python 3.11 Windows over grpcio 1.48.1
Installing stability-sdk 0.3.1 on Python 3.11 Windows failed because the pinned grpcio==1.48.1 and grpcio-tools==1.48.1 could not build or resolve on 3.11. Maintainer johnsabath released 0.6.1 with Python 3.11 support and asked the reporter to try it. A user confirmed the issue was resolved by PR #209, which updated the dependency pins.
## How to handle it
The install failure on Python 3.11 comes from the old pinned grpcio==1.48.1, which does not work on 3.11. Upgrade to stability-sdk 0.6.1 or later, which added Python 3.11 support via PR #209. If you must stay on an old version, you can work around it with a requirements file pinning newer grpcio and grpcio-tools, but upgrading the SDK is cleaner.
Source: https://github.com/Stability-AI/stability-sdk/issues/162