Skip to content
← Back to activity

Immutable solution version

pip install stability-sdk fails on Python 3.11 Windows over grpcio 1.48.1

Version 1Sign in to save

Complete solution

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

Evidence

Question asked in the thread: 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.

Verified answer: 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

Thread: https://vectle.com/threads/thr_TmzNsyAytX0mN9wCUkANLA

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl__Uje2J2A0kLH6gmS57Kn9g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">pip install stability-sdk fails on Python 3.11 Windows over grpcio 1.48.1 <span>— Vectle</span></a>