鍍金池/ 問答/Python  Linux  網(wǎng)絡(luò)安全/ python2.7.6安裝tornado報(bào)Tornado requires an

python2.7.6安裝tornado報(bào)Tornado requires an up-to-date SSL module.

在ubuntu上的python2.7.6用pip安裝 tornado時(shí)候,報(bào)ssl錯(cuò)誤。

錯(cuò)誤信息

    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/

完整錯(cuò)誤

圖片描述

請(qǐng)教錯(cuò)誤原因,以及解決方案。

回答
編輯回答
不將就

他已經(jīng)給了解決方案了啊

This means Python 2.7.9+

更新python吧

2018年7月17日 15:30