Coder Social home page Coder Social logo

Comments (8)

iainmck avatar iainmck commented on May 12, 2024 4

Hey got it to work with forcing protobuf version: pip install protobuf==3.20.1
You can add this to your requirements/environment file

from stability-sdk.

iainmck avatar iainmck commented on May 12, 2024

+1 - getting the same error... tried downgrading protobuf package (where DESCRIPTOR is imported from) as there was an update 2 days ago, but still got same error.

from stability-sdk.

dmahlow avatar dmahlow commented on May 12, 2024

Great! Can confirm this works.

from stability-sdk.

jape-dev avatar jape-dev commented on May 12, 2024

@iainmck that fixed it for me too - thanks!

from stability-sdk.

dmarx avatar dmarx commented on May 12, 2024

@iainmck thanks so much for figuring out this fix! working on integrating it presently.

from stability-sdk.

polavishnu4444 avatar polavishnu4444 commented on May 12, 2024

@dmahlow @dmarx
What is the grpcio-tools version you guys have that is compatible with the protobuf version hardcoded here?

I see this following error for the new version 0.2.4 one

There are incompatible versions in the resolved dependencies:
protobuf<5.0dev,>=4.21.3 (from grpcio-tools==1.49.1->stability-sdk==0.2.4->test-stability (pyproject.toml))
protobuf<4,>=3.20.2 (from stability-sdk==0.2.4->test-stability (pyproject.toml))

from stability-sdk.

dmahlow avatar dmahlow commented on May 12, 2024

@polavishnu4444 You don't need to pin the protobuf version anymore, it works as is.

from stability-sdk.

polavishnu4444 avatar polavishnu4444 commented on May 12, 2024

@dmahlow - I haven't pinned, seems like the latest stability-sdk has pinned it??

Here it is --> https://github.com/Stability-AI/stability-sdk/blob/main/setup.py#L27

from stability-sdk.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.