当前位置:网站首页>Resolve the error reported when installing gerapy: error: cannot uninstall 'certificate' It is a distutils installed project...

Resolve the error reported when installing gerapy: error: cannot uninstall 'certificate' It is a distutils installed project...

2022-06-10 13:49:00 Lvcx

Problem description

Today I'm learning to use gerapy Distributed crawler management framework , An error occurred during the installation step , An error is as follows :
 Insert picture description here

ERROR: Cannot uninstall 'certifi'. 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.

translate :
error : Unable to uninstall “ certificate ”. This is a distutils Installed items , So we can't determine exactly which files belong to it , This will only result in partial uninstallation .
Should be pip Running inside pip uninstall certifi There was an error in the command , Tried to run pip uninstall certifi, The same error was found :
 Insert picture description here
I have to go to Baidu to find out how to solve it , Finally found a solution .

terms of settlement

Run the command :

pip install certifi --ignore-installed

 Insert picture description here
After running the command, use pip install gerapy You can't report an error , Can be successfully installed gerapy.
 Insert picture description here
Reference article :
https://blog.csdn.net/weixin_43332715/article/details/121895795
https://blog.csdn.net/chrisitian666/article/details/108773287

原网站

版权声明
本文为[Lvcx]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/161/202206101332088936.html