最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

运维笔记admin5浏览0评论

关注公众号:52phm,学PHM不迷路

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

文章来源于:http://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模块安装成功了。

关注公众号:52phm,学PHM不迷路

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论