Cmd如何更新matplotlib库
- Win +r
- Cmd
- pip install --upgrade matplotlib
- 报错:ERROR: Could not install packages due to an OSError: [WinError 5] 拒绝访问。: 'c:\\programdata\\anaconda3\\lib\\site-packages\\__pycache__\\pylab.cpython-38.pyc'
Consider using the `--user` option or check the permissions.
5.解决:pip install --user --upgrade matplotlib