首页 > 其他 > 详细

Cannot uninstall 'pyserial'. It is a distutils installed project and thus we cannot a ccurately determine which files belong to it which would lead to only a partial uninstall. 解决方法

时间:2019-02-22 14:11:52      阅读:476      评论:0      收藏:0      [点我收藏+]

最近再升级 pyserial模块时,采用 pip install --upgrade pyserial,待模块下载完成准备卸载原版本时

提示:“Cannot uninstall ‘pyserial‘. 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.

然后再强制去卸载时也报同样错误,在网上找了一些方法,经试过下面的方法可解决问题:

pip install --ignore-install pyserial 完美解决升级问题

 

技术分享图片

 

Cannot uninstall 'pyserial'. It is a distutils installed project and thus we cannot a ccurately determine which files belong to it which would lead to only a partial uninstall. 解决方法

原文:https://www.cnblogs.com/TwCsLj/p/10418031.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!