admin管理员组

文章数量:1794759

matplotlib更新报错:Consider using the `

matplotlib更新报错:Consider using the `

更新matplotlib报错:Consider using the --user option or check the permissions.

文章来源于:www.52phm/blog/detail/25

在一次更新matplotlib时,发生报错,报信信以及解决方法总结如下~

1、报错信

因为matplotlib需要更新,在终端输入以下命令:

pip install -U matplotlib

结果竟然报错了,报错信如下:

Consider using the `--user` option or check the permissions. 2、解决方法

按照报错信的提示,我尝试了以下命令:

pip install -U --user matplotlib

结果,matplotlib模块安装成功了。

希望这个问题,能帮助到各位,觉得能帮助到你,可以点个赞哦~

统一声明:如文章侵权,请联系删除,谢谢~

本文标签: 报错matplotlib