October 19, 2024

When you install some packages via “poetry add”, you would somtimes see version conflict probelm.

The current project’s Python requirement (>=3.10,<4.0) is not compatible with some of the required packages Python requirement:

  • qdrant-client requires Python >=3.7,<3.12, so it will not be satisfied for Python >=3.12,<4.0

Because no versions of qdrant-client match >1.2.0,<2.0.0

You should edit pyproject.toml file on your repository like below in order to reslove version conflict.

[tool.poetry.dependencies]
python = “>=3.7,<3.12”
numpy = {version = “*”, python = “^3.8”}
qdrant-client = “^1.2.0”