biolinux的Ubuntu系统上安装matplotlib时报错:
sudo pip install matplotlib
遇到报错:
Downloading tornado-5.0.2.tar.gz (506kB): 506kB downloaded
Running setup.py (path:/tmp/pip_build_root/tornado/setup.py) egg_info for package tornado
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/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).
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_root/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).
Tornado 这个包有问题,解决办法是用 下面apt-get解决,会自动帮我们检查SSL:
sudo apt-get install python-tornado
如果觉得我的文章对您有用,请随意打赏。你的支持将鼓励我继续创作!