其他分享
首页 > 其他分享> > pip升级scapy报错It is a distutils installed project and thus we cannot accurately determine which files

pip升级scapy报错It is a distutils installed project and thus we cannot accurately determine which files

作者:互联网

今天在升级scapy的时候遇到的问题,搜索到解决问题的答案,为此记录,感谢博主。
尝试升级

pip install scapy --upgrade

报错

ERROR: Cannot uninstall ‘scapy’. 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.

解决方案

python -m pip install --user --upgrade scapy

或者

pip install --ignore-installed scapy

原因:pip版本问题,我的pip版本是19.3.1

山脚下的20岁 发布了15 篇原创文章 · 获赞 1 · 访问量 233 私信 关注

标签:files,distutils,scapy,installed,project,报错,install,pip
来源: https://blog.csdn.net/bicongcha5626/article/details/103967469