簡體   English   中英

導入錯誤-龍卷風在ubuntu 14.04上需要更新的SSL模塊

[英]Import Error - Tornado requires an updated SSL module on ubuntu 14.04

在我的ubuntu 14.04上安裝juypter筆記本時,我得到了這個:

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).

點是:

pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)

如何解決呢?

最新的tornado庫不支持您的解釋器版本。 您有兩個選擇。

要么安裝舊的龍卷風(推薦):

pip install tornado==4.*
pip install jupyter

或安裝新的python。 Ubuntu沒有為其提供官方軟件包,因此您必須使用社區軟件包:

sudo add-apt-repository ppa:jonathonf/python-2.7
sudo apt-get update
sudo apt-get install python2.7
pip install jupyter
python -m pip install --upgrade pip setuptools wheel

參考: https : //packaging.python.org/tutorials/installing-packages/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM