[Python] Error installing dependencies from requirements.txt when setting up YOLOv10

Discussão em 'Python' iniciado por Stack, Maio 10, 2025.

  1. Stack

    Stack Membro Participativo

    I'm learning how to use Yolov10 and I'm facing some difficulties. When I try to install the libraries listed in the requirement.txt file, I encounter 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. transformers 4.51.3 requires huggingface-hub<1.0,>=0.30.0, but you have huggingface-hub 0.23.2 which is incompatible. peft 0.15.2 requires huggingface_hub>=0.25.0, but you have huggingface-hub 0.23.2 which is incompatible. torchaudio 2.6.0+cu124 requires torch==2.6.0, but you have torch 2.0.1 which is incompatible. google-genai 1.13.0 requires websockets<15.1.0,>=13.0.0, but you have websockets 11.0.3 which is incompatible. thinc 8.3.6 requires numpy<3.0.0,>=2.0.0, but you have numpy 1.26.4 which is incompatible. diffusers 0.33.1 requires huggingface-hub>=0.27.0, but you have huggingface-hub 0.23.2 which is incompatible. dataproc-spark-connect 0.7.2 requires websockets>=14.0, but you have websockets 11.0.3 which is incompatible

    How can I fix this error

    Continue reading...

Compartilhe esta Página