当前位置:网站首页>解决安装gerapy的时候报错:ERROR: Cannot uninstall ‘certifi‘. It is a distutils installed project...
解决安装gerapy的时候报错:ERROR: Cannot uninstall ‘certifi‘. It is a distutils installed project...
2022-06-10 13:32:00 【Lvcx】
问题描述
今天在学习使用gerapy分布式爬虫管理框架时,在安装这一步就遇到了报错,报错如下:
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.
翻译:
错误:无法卸载“证书”。这是一个 distutils 安装的项目,因此我们无法准确确定哪些文件属于它,这只会导致部分卸载。
应该是pip在内部运行pip uninstall certifi命令的时候出错了,尝试运行了一下pip uninstall certifi,发现报一样的错误:
只好去百度一下该怎么解决,最后找到解决方法了。
解决办法
运行命令:
pip install certifi --ignore-installed

运行完该命令后再次用pip install gerapy就不会报错,能成功安装gerapy。
参考文章:
https://blog.csdn.net/weixin_43332715/article/details/121895795
https://blog.csdn.net/chrisitian666/article/details/108773287
边栏推荐
- [NLP] NLP full path learning recommendation
- RecyclerView多布局写法,“我的”、“个人中心” 页面经典写法演示
- Ultra detailed ffmpeg installation and simple use tutorial
- Qualcomm has finally begun to develop its own core architecture after learning from the difficulties of assembling chips to maintain its competitive advantage
- 常识,神经元数量,小鼠的脑内神经元大约在7000万个、人类约有860亿个
- 数码管驱动芯片+语音芯片的应用场景介绍,WT588E02B-24SS
- 聊聊消息中间件(1),AMQP那些事儿
- What happened when the legendary login prompt failed to connect to the server? How to solve it?
- [Huang ah code] Why is php7 twice as fast as PHP5?
- Lecture on linear dynamic programming
猜你喜欢

如何定位游戏发热问题

解决VMWareStation安装 tools 时 D:\setup.exe 找不到的问题

【深度学习05】 交叉熵损失函数

智慧校园安全通道及视频监控解决方案

Student status management system

High performance practical Alibaba sentinel notes, in-depth restoration of Alibaba micro service high concurrency scheme

Copying and deleting files

Simple integration of client go gin six list watch two (about the improvement of RS, pod and deployment)

In depth analysis of "circle group" relationship system design | series of articles on "circle group" technology

格力手机叫板苹果手机?除了嘴硬之外,恐怕再无其他
随机推荐
讓資源在雲端和本地自由流動
What does the multi cloud management platform CMP mean? Who can explain it clearly
Smart campus security channel and video monitoring solution
Tablayout usage details (modify text size, underline style, etc.)
如果再写for循环,我就锤自己了
buuctf [PHP]XDebug RCE
Final exam - Principles of compilation
Neuron Newsletter 2022-05|新增 2 個南向驅動和 1 個北向應用、Modbus TCP 實現定制擴展
Student status management system
Notes - simple but adequate series_ The Yapi return parameter data should be an object type problem solving record
What needs to be done for mobile app performance testing? How much is the performance test report charged?
im即时通讯开发:进程被杀底层原理、APP应对被杀技巧
Neuron Newsletter 2022 - 05 | ajout de 2 entraînements Sud et 1 Application Nord, mise en œuvre de l'extension personnalisée par Modbus TCP
net core天马行空系列-可用于依赖注入的,数据库表和c#实体类互相转换的接口实现
[Netease Yunxin] in depth analysis of the design of "circle group" relationship system | series of articles on "circle group" technology
If I write the for loop again, I will hammer myself
MMdetection增加评估指标precision
Libre circulation des ressources dans le cloud et localement
eKuiper Newsletter 2022-05|protobuf 编解码支持、可视化拖拽编写规则
Z-Wave ecosystem status report in 2022