How to fix ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.

Wallison Ferreira 0 Reputation points
2024-12-11T22:45:11.6566667+00:00

Hi, how is it going?

Promptflow is giving an error on pip and dependencies in such way that no one solution or combination of set of specific dependencies do not resolve.

I've tried a set of solutions put on the requirements.txt the following dependecies:

langdetect == 1.0.9
promptflow-vectordb[azure] == 0.2.9
langchain >= 0.2.5
langchain-community >= 0.2.19
protobuf >= 3.0.0
langchain-core >= 0.2.43

Or even, but no one is enough to solve the problem.

langdetect == 1.0.9
promptflow-vectordb[azure] == 0.2.9
langchain >=0.1
langchain-community >=0.0.38
protobuf >= 3.0.0
langchain-core >=0.1.52
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,602 questions
Azure Azure Startups
{count} votes

1 answer

Sort by: Most helpful
  1. romungi-MSFT 48,906 Reputation points Microsoft Employee Moderator
    2024-12-30T04:09:32.9833333+00:00

    @Wallison Ferreira There is one known issue with azureml-rag version that is currently reported. See this thread.

    The guidance there was to use the following dependencies before promptflow-vectordb[azure]

    I see you have other dependencies also set. Please check if you can retain the below first and then try to run the flow. If you see further errors, you can try to add additional dependencies based on the version error you get. Thanks!!

    azureml-rag==0.2.36 
    langchain>=0.1.20,<0.3   
    langchain-community<0.3.0
    
    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.