开课吧--Anaconda3--matplotlib的升级与重装
近期想升级下matplotlib又突然想不起来升级命令怎么打了,就先卸载,再安装,以求达到升级目的:
pip uninstall matplotlib
pip install matplotlib
结果在安装这一步遇到了问题,报错:
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.
最终在网上找到以下解决办法:https://blog.csdn.net/weixin_42317507/article/details/104667146?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.channel_param&depth_1-utm_source=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-3.channel_param
步骤如下:
1、pip install --ignore-installed certifi
2、pip install matplotlib
不再报错,完美解决。