在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是:
pip 10.0.1 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7)
如何解决这个问题?
答案 0 :(得分:9)
最新的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
答案 1 :(得分:1)
python -m pip install --upgrade pip setuptools wheel
ref:https://packaging.python.org/tutorials/installing-packages/