ERROR: pip's dependency resolver does not currently take into account all the packages Solution sharing

1. Problems

My problem is when I install the package with pip (pip install --upgrade setuptools): ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behavior is the source of the following dependency conflicts.

spyder 5.1.5 requires pyqt5<5.13, which is not installed.

spyder 5.1.5 requires pyqtwebengine<5.13, which is not installed.

conda-repo-cli 1.0.4 requires pathlib, which is not installed.

anaconda-project 0.10.2 requires ruamel-yaml, which is not installed.

Judging from the question prompt, it is pip's dependency resolver that does not currently consider all packages installed. This behavior is the source of the following dependency conflicts.

Two, the solution

According to the error prompt, I reinstalled the packages required by the above four versions respectively, no longer took screenshots, and attached the code:

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  " pyqt5<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  " pyqtwebengine<5.13"
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple  pathlib
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple   ruamel-yaml

Then there is no error.

Guess you like

Origin blog.csdn.net/weixin_44692055/article/details/128549899