Comments (4)
I fixed it by downgrading the server version to 1.8.0 by using docker run qdrant/qdrant:v1.8.0
instead of running qdrant/qdrant:latest
from qdrant-client.
Hey @MixoMax, please make sure that minor version of the client matches minor version of the server
from qdrant-client.
that could be the problem:
server: Version: 1.8.3, build: acb04d5f
client: 1.8.0
when i run pip install qdrant-client==1.8.3
i get:
ERROR: Could not find a version that satisfies the requirement qdrant-client==1.8.3 (from versions: 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.3.6, 0.3.7, 0.3.8, 0.3.9, 0.3.10, 0.3.11, 0.3.12, 0.4.1, 0.5.0, 0.6.0, 0.6.1, 0.7.0, 0.7.1, 0.7.2, 0.7.3, 0.8.0, 0.8.3, 0.8.4, 0.8.5, 0.8.6, 0.8.7, 0.9.0, 0.9.1, 0.9.2, 0.9.3, 0.9.4, 0.9.5, 0.9.7, 0.10.0, 0.10.1, 0.10.2, 0.10.3, 0.11.0, 0.11.1, 0.11.3, 0.11.4, 0.11.5, 0.11.6, 0.11.7, 0.11.8, 0.11.9, 0.11.10, 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.1.0, 1.1.1, 1.1.2, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 1.5.4, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.8, 1.6.9, 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.8.0) ERROR: No matching distribution found for qdrant-client==1.8.3
python version 3.10.11, newest version of pip
I also tried for python version 3.12.2 but that could anso not find qdrant-client==1.8.3.
so how do i either upgrade my qdrant client version to 1.8.3 or downgrade the qdrant server running in docker (docker pull qdrant/qdrant && docker run -p 6333:6333 qdrant/qdrant
)
from qdrant-client.
Hi @MixoMax
There is no qdrant-client==1.8.3
, qdrant version 1.8.x
should be used with qdrant-client 1.8.x
, as of now qdrant-client latest is 1.8.0
.
I tried to reproduce the issue
I was using python3.10.7
Here is my pip3 freeze
output:
annotated-types==0.6.0
anyio==4.3.0
certifi==2024.2.2
exceptiongroup==1.2.0
grpcio==1.62.1
grpcio-tools==1.62.1
h11==0.14.0
h2==4.1.0
hpack==4.0.0
httpcore==1.0.4
httpx==0.27.0
hyperframe==6.0.1
idna==3.6
numpy==1.26.4
portalocker==2.8.2
protobuf==4.25.3
pydantic==2.6.4
pydantic_core==2.16.3
qdrant-client==1.8.0
sniffio==1.3.1
typing_extensions==4.10.0
urllib3==2.2.1
I launched qdrant as
docker run -it -p 6333:6333 -p 6334:6334 -e QDRANT__CLUSTER__ENABLED=true --name qdrant qdrant/qdrant:latest ./qdrant --uri "http://localhost:6335"
However, the code snippet you provided worked without an exception from pydantic
I ran it 2 times
First time it just created the collection
The second time I had the following output:
Collection already exists
Unexpected Response: 409 (Conflict)
Raw response content:
b'{"status":{"error":"Wrong input: Collection `xyz` already exists!"},"time":0.007603988}'
We've seen the error you encounters, it happened when qdrant-client was 1.7.x
Could you double-check if you are using the correct interpreter? And if you are using a virtualenv, then could you please check that it is enabled and you are actually activated the correct venv?
from qdrant-client.
Related Issues (20)
- pydantic <=2.6.0 converts bool to 0/1 and breaks bool filters HOT 2
- Qdrant Scroll Method Timeout HOT 8
- Mounting Local Volume for Langchain Embeddings in Docker Container HOT 8
- can not get "time" from api using the sdk HOT 4
- Extra inputs are not permitted HOT 5
- `init_from is deprecated` warnings on create collection calls HOT 2
- fix orderby conversion with pydantic 1.10.x HOT 1
- The problem I encountered when using celery task to execute qdrant in fastApi HOT 1
- Hybrid search throws error when `prefer_grpc=True` HOT 5
- Missing Example for Using ColBERT with Python Client in Blog and Documentation HOT 1
- [BUG] test_referenced_vectors crashes with validation errors on pydantic v1.10.x HOT 1
- Setting Parameters in Qdrant Client running in " Memory" Issue: HOT 1
- bug: qdrant using poetry HOT 6
- add tests for query_points with Document
- Unlock pyright dependency
- query_points raise exception: ResponseHandlingException: 1 validation error for ParsingModel[InlineResponse20021] (for parse_as_type) HOT 12
- Support async in upload_collection HOT 1
- Limiting RAM in Qdrant
- bug: tests fails due to datetime difference 00:00 vs Z
- Python client type hint error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qdrant-client.