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

发布时间 2023-05-07 16:47:10作者: 化繁为简,弃快从慢

报错原因:

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.

scipy 1.7.3 requires numpy<1.23.0,>=1.16.5, but you have numpy 1.15.1 which is incompatible.

报错解析:

已经安装的ccipy 1.7.3包,至少要求numpy的版本是1.16.5,安装的numpy是1.15.1,二者有冲突

解决办法:

pip install  -U numpy==1.16.5

安装1.16.5版本的numpy