在我的ubuntu 14.04上安装jupyter笔记本时我得到了这个:
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
ref:https://packaging.python.org/tutorials/installing-packages/