Giter Site home page Giter Site logo

Failed to install agency-swarm and fastapi because these package versions have conflicting dependencies about agency-swarm-lab HOT 7 OPEN

codermrrob avatar codermrrob commented on September 15, 2024 1
Failed to install agency-swarm and fastapi because these package versions have conflicting dependencies

from agency-swarm-lab.

Comments (7)

THOSSYN avatar THOSSYN commented on September 15, 2024

I am also facing the same issue that was reported above.

ERROR: Cannot install agency-swarm and fastapi because these package versions have conflicting dependencies.

The conflict is caused by:
instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0
fastapi-cli 0.0.4 depends on typer>=0.12.3
instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0
fastapi-cli 0.0.3 depends on typer>=0.12.3
instructor 0.6.7 depends on typer<0.10.0 and >=0.9.0
fastapi-cli 0.0.2 depends on typer>=0.12.3

To fix this you could try to:

  1. loosen the range of package versions you've specified
  2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

Please help find a way to resolve this

from agency-swarm-lab.

javadrip avatar javadrip commented on September 15, 2024

Also facing the same issue, not sure what to do about it.

from agency-swarm-lab.

egulatee avatar egulatee commented on September 15, 2024

I was able to move past the issue by changing requirements.txt to remove dependency on version 0.1.7 on agency-swarm. However can't speak to whether it actually works since I am having issues a bit further. (Run API step)

requirements.txt

agency-swarm
gradio
litellm[proxy]

VRSEN's docs do indicate it's probably not going to work.

To integrate open-source models with this framework, install the previous version of agency-swarm as most projects are not yet compatible with streaming and Assistants V2.

from agency-swarm-lab.

codermrrob avatar codermrrob commented on September 15, 2024

To integrate open-source models with this framework, install the previous version of agency-swarm as most projects are not yet compatible with streaming and Assistants V2.

Yes, this has been what has stopped me.

from agency-swarm-lab.

josedandrade avatar josedandrade commented on September 15, 2024

Ready to try. What could go wrong? I removed agency-swarm version.

From

agency-swarm==0.1.7
gradio
litellm[proxy]

To

agency-swarm
gradio
litellm[proxy]

No errors after that.

from agency-swarm-lab.

codermrrob avatar codermrrob commented on September 15, 2024

@josedandrade the only mention was that streaming would not work if you try and use it. Would like to hear if you have continued to have success with latest agency-swarm lib with open source?

from agency-swarm-lab.

codermrrob avatar codermrrob commented on September 15, 2024

I have managed to get this installed and working with groq/llama3-70b-8192 but could not get it to work with ollama locally.

To get around the conflict in the OpenSourceSwarm directory I separately ran pip install instructor and then after ran the pip install -r requirements.txt. There were some errors which I just ignored. There is a thread in discord on the issues-and-discussions channel callled Conflict on install where I found this advice.

Then followed instructions in the video & the readme for this repo. Tried several times unsuccessfully to get it running with ollama/llama3-8b. I could see my prompts running from gradio to the model and the response from the model in my python terminal but it would fail trying to deliver the response to gradio,

When I configured to work with groq/llama3-70b-8192 it worked first time.

from agency-swarm-lab.

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.