错误:pip 的依赖解析器当前未考虑所有已安装的软件包

Fad*_*bi 10 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.
Run Code Online (Sandbox Code Playgroud)

小智 16

尝试--use-deprecated=legacy-resolver在 pip install 命令后添加,例如:

!pip install -rrequirements.txt --use-deprecated=legacy-resolver


YJD*_*Dev 6

以下解决方案对我有用:

在安装扩展程序之前,只需按照提示操作即可

pip install h5py
pip install typing-extensions
pip install wheel
Run Code Online (Sandbox Code Playgroud)

然后安装你的扩展

感谢消息来源。来源:https ://github.com/apple/turicreate/issues/3383#issuecomment-1010006358