開課吧--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

不再報錯,完美解決。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM