biolinux安装matplotlib时报错

matplotlib安装


biolinux的Ubuntu系统上安装matplotlib时报错:

sudo pip install matplotlib

遇到报错:

Downloading tornado-5.0.2.tar.gz (506kB): 506kB downloaded

  Running setup.py (path:/tmp/pip_build_root/tornado/setup.py) egg_info for package tornado

    Traceback (most recent call last):

      File "<string>", line 17, in <module>

      File "/tmp/pip_build_root/tornado/setup.py", line 146, in <module>

        raise ImportError("Tornado requires an up-to-date SSL module. This means "

    ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the necessary changes to older versions).

    Complete output from command python setup.py egg_info:

    Traceback (most recent call last):


  File "<string>", line 17, in <module>


  File "/tmp/pip_build_root/tornado/setup.py", line 146, in <module>


    raise ImportError("Tornado requires an up-to-date SSL module. This means "


ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the necessary changes to older versions).


Tornado 这个包有问题,解决办法是用 下面apt-get解决,会自动帮我们检查SSL:

sudo apt-get install python-tornado



  • 发表于 2018-07-09 13:25
  • 阅读 ( 3483 )
  • 分类:python

0 条评论

请先 登录 后评论
omicsgene
omicsgene

生物信息

691 篇文章

作家榜 »

  1. omicsgene 691 文章
  2. 安生水 340 文章
  3. Daitoue 167 文章
  4. 生物女学霸 120 文章
  5. 红橙子 78 文章
  6. xun 76 文章
  7. rzx 74 文章
  8. CORNERSTONE 72 文章