Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed [closed]

Tags:

python

numpy

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.
daal4py 2021.5.0 requires daal==2021.4.0, which is not installed.
mxnet 1.7.0.post2 requires numpy<1.17.0,>=1.8.2, but you have numpy 1.18.5 which is incompatible.
d2l 0.17.5 requires numpy==1.21.5, but you have numpy 1.18.5 which is incompatible.
d2l 0.17.5 requires requests==2.25.1, but you have requests 2.18.4 which is incompatible.
like image 523
Fadepo joshua tobi Avatar asked Sep 06 '25 20:09

Fadepo joshua tobi


2 Answers

Try adding --use-deprecated=legacy-resolver after your pip install commands for example:

!pip install -r requirements.txt --use-deprecated=legacy-resolver

like image 84
Devesh Vijay Avatar answered Sep 08 '25 12:09

Devesh Vijay


Below solution worked for me:

Before you install your extension, just follow the prompts

pip install h5py
pip install typing-extensions
pip install wheel

and then install your extension

Thanks to the source. source: https://github.com/apple/turicreate/issues/3383#issuecomment-1010006358

like image 29
YJDev Avatar answered Sep 08 '25 11:09

YJDev