pip install the software error: Can not uninstall 'requests' It is a distutils installed ..........

When run the following command to install icrawler

sudo pip install icrawler 

Error:

Cannot uninstall 'requests'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall

 

It is relatively more dependent on older versions of requests, pip can not find the exact dependencies.

Solution: Ignore the old version of dependency information

Run the following command:

sudo pip install icrawler --ignore-installed requests

 

Published 230 original articles · won praise 248 · views 260 000 +

Guess you like

Origin blog.csdn.net/youngyangyang04/article/details/105020271