美文网首页
安装matplot

安装matplot

作者: help_youself | 来源:发表于2019-06-20 08:39 被阅读0次

 为了安装matplot,需要升级pip,需要安装python大于3.5的版本。

python3.7 -m pip install --user --upgrade pip==9.0.3

 弄完了,执行上述命令,提示我:

Can't connect to HTTPS URL because the SSL module is not available.

 按照[1]的教程,我指定了ssl的参数了。[2]说python3中的ssl是有版本要求的。

而python3.7需要的openssl的版本为1.0.2或者1.1.x,需要对openssl进行升级,并重新编译python3.7.0

好像以上操作时不需要的,按照[6],只用在root用户下:

python -m pip install -U pip setuptools
sudo apt-get install python-dev
python -m pip install matplotlib

 可能需要升级six

sudo pip install six --upgrade --ignore-installed six

[1] 初学Ubuntu:升级python到3.7
[2] python3.7安装后ssl问题
[3] python3中pip3安装出错,找不到SSL
[4] Ubuntu 升级 openssl 的方案
[5]centos6.8安装python3.7无法import _ssl
[6] 为python安装matplotlib模块
[7]Python.h:No such file or directory
[8]使用例子https://github.com/jbmouret/matplotlib_for_papers

相关文章

  • 安装matplot

     为了安装matplot,需要升级pip,需要安装python大于3.5的版本。  弄完了,执行上述命令,提示我:...

  • matplotlib 解决中文乱码

    matplotlib 如果在mac 上普通安装安装一般中文没有问题,但是matplot 如果安装在centos 7...

  • Python的pip install失败问题

    在使用pip安装matplotlib包时,发生报错可以使用国内的豆瓣的源来安装 如果安装其他的包,把matplot...

  • 为python安装matplot模块

    数模论文急着要交,matlab突然出毛病了,想着用python来做可视化。结果搞来搞去,网上下载matplot...

  • matplot

    01 代码下载 02 代码下载

  • matplot

    柱形图主要用于比较各组数据之间的差别或数据变化情况。折线图趋势分析饼图主要用于各部分占整体的多少说明。散点图查找变...

  • 笔记|数据分析之pandas基础----matplotlib基础

    matplot API入门 如何引入: 一个简单的例子: 效果如下: Figure和Subplot matplot...

  • python可视化库seaborn

    seaborn就是在matplot的基础上进行了进一步封装1.在anaconda prompt中安装seaborn...

  • anaconda安装tensorflow后引入不了matplot

    将pycharm和anaconda结合后竟然发现用不了matplotlib了,一直报错。在网上搜了好久说是兼容问题...

  • Matplot入门

    开始 画图是很细节的事情,matplotlib的入门,从试过每个参数开始。以下练手,参考的 https://www...

网友评论

      本文标题:安装matplot

      本文链接:https://www.haomeiwen.com/subject/inblqctx.html