pip install 报错 Error: Cannot uninstall ‘pyparsing‘ 的解决方法

一、问题表现

执行pip install 命令安装pytest 时遇到错误:Error: Cannot uninstall 'pyparsing' 

 

二、解决方法

执行 sudo pip install -I pyparsing==2.2.2 命令升级pyparsing

再次安装pytest成功,问题解决!

 

 

猜你喜欢

转载自blog.csdn.net/wxt_hillwill/article/details/114327184