当前位置:   article > 正文

pip安装错误 Beginning with Matplotlib 3.1, Python 3.6 or above is required_error: setup script exited with beginning with mat

error: setup script exited with beginning with matplotlib 3.8, python 3.9 or

pip 安装matplotlib 没有能成功,打印出错误

Beginning with Matplotlib 3.1, Python 3.6 or above is required

原因

本地环境是python 3.6以下的版本。

解决

如果不升python 版本的话, 降低要安装的matplotlib版本。
出现这个问题,安装的版本应该是matplotlib 3.1
试着降低版本

pip install matplotlib==3.0
  • 1

用国内源的话

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple matplotlib==3.0
  • 1
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/木道寻08/article/detail/866194
推荐阅读
相关标签
  

闽ICP备14008679号