python2.7.6安装tornado报Tornado requires an up-to-date SSL module.

新手上路,请多包涵

在ubuntu上的python2.7.6用pip安装 tornado时候,报ssl错误。

错误信息

    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-iKNC7g/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).
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-install-iKNC7g/tornado/

完整错误

图片描述

请教错误原因,以及解决方案。

阅读 9.3k
1 个回答

他已经给了解决方案了啊

This means Python 2.7.9+

更新python吧

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题