Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: mem0ai 0.0.5 requires qdrant-client<2.0.0,>=1.9.1, but you have qdrant-client 1.9.0 which is incompatible. #4250

Open
msmygit opened this issue Oct 23, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@msmygit
Copy link
Contributor

msmygit commented Oct 23, 2024

Bug Description

using python3 -m pip install langflow -U, I’m getting this error:

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.
mem0ai 0.0.5 requires qdrant-client<2.0.0,>=1.9.1, but you have qdrant-client 1.9.0 which is incompatible.
Successfully installed Events-0.5 aiohappyeyeballs-2.4.3 aiohttp-3.10.10 assemblyai-0.34.0 astra-assistants-2.2.2 certifi-2024.8.30 clarifai-10.8.0 clarifai-grpc-10.9.10 contextlib2-21.6.0 duckduckgo-search-6.3.2 embedchain-0.1.116 gotrue-2.9.3 inquirerpy-0.3.4 langchain-elasticsearch-0.2.2 langflow-1.0.19.post1 langflow-base-0.0.98 langsmith-0.1.86 langwatch-0.1.16 memzero-0.0.7 opensearch-py-2.7.1 pfzy-0.3.4 postgrest-0.17.2 primp-0.6.4 propcache-0.2.0 python-rapidjson-1.20 qdrant-client-1.9.0 realtime-2.0.6 redis-5.1.1 schema-0.7.5 storage3-0.8.2 supabase-2.9.0 supafunc-0.6.2 tritonclient-2.50.0 validators-0.34.0 weaviate-client-4.9.0 yarl-1.16.0 zep-python-2.0.2

[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: pip install --upgrade pip

Reproduction

  1. Create a virtual environment with python 3.10.12
  2. using python3 -m pip install langflow -U, I’m getting this error:
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.
mem0ai 0.0.5 requires qdrant-client<2.0.0,>=1.9.1, but you have qdrant-client 1.9.0 which is incompatible.
Successfully installed Events-0.5 aiohappyeyeballs-2.4.3 aiohttp-3.10.10 assemblyai-0.34.0 astra-assistants-2.2.2 certifi-2024.8.30 clarifai-10.8.0 clarifai-grpc-10.9.10 contextlib2-21.6.0 duckduckgo-search-6.3.2 embedchain-0.1.116 gotrue-2.9.3 inquirerpy-0.3.4 langchain-elasticsearch-0.2.2 langflow-1.0.19.post1 langflow-base-0.0.98 langsmith-0.1.86 langwatch-0.1.16 memzero-0.0.7 opensearch-py-2.7.1 pfzy-0.3.4 postgrest-0.17.2 primp-0.6.4 propcache-0.2.0 python-rapidjson-1.20 qdrant-client-1.9.0 realtime-2.0.6 redis-5.1.1 schema-0.7.5 storage3-0.8.2 supabase-2.9.0 supafunc-0.6.2 tritonclient-2.50.0 validators-0.34.0 weaviate-client-4.9.0 yarl-1.16.0 zep-python-2.0.2

[notice] A new release of pip is available: 23.0.1 -> 24.2
[notice] To update, run: pip install --upgrade pip

Expected behavior

a clean install

Who can help?

@italojohnny @erichare

Operating System

macOS

Langflow Version

1.0.19.post1

Python Version

3.10

Screenshot

No response

Flow File

No response

@msmygit msmygit added the bug Something isn't working label Oct 23, 2024
Copy link

dosubot bot commented Oct 23, 2024

To resolve the dependency conflict error, you need to upgrade your qdrant-client to a version that satisfies both mem0ai and langflow requirements. According to the pyproject.toml file for langflow, it requires qdrant-client~=1.9.2, which means it is compatible with versions >=1.9.2, <2.0.0. Therefore, you should upgrade your qdrant-client to at least version 1.9.2.

You can do this by running the following command:

pip install qdrant-client==1.9.2

This should resolve the dependency conflict by ensuring that both mem0ai and langflow have compatible versions of qdrant-client [1].

To continue talking to Dosu, mention @dosu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants