我自己的ubuntu 14.04
系統(tǒng)中默認的python版本為2.7.6
,今天在安裝jupyter
時,提示如下錯誤
image.png
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).
意思就是當前要安裝的東東违霞,需要python2.7.9
以上的版本。
而我不想把2.7變成2.8或者說3瞬场,只想把當前的2.7.6
升級到2.7中的最新版即可买鸽。
自己是linux小白,最后在網(wǎng)上找了半天贯被,終于找到一個靠譜的升級方案眼五。命令如下:
sudo add-apt-repository ppa:jonathonf/python-2.7
sudo apt-get update
sudo apt-get install python2.7
python -V
成功將python
從2.7.6
升級到2.7.14
妆艘,最后重新安裝jupyter
時,也成功了看幼。