1.~$ sudo pip2 install pylzma
[sudo] tarena 的密码:The directory '/home/tarena/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
The directory '/home/tarena/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Collecting pylzma
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/pylzma/
Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read timed out. (read timeout=15)",)': /simple/pylzma/
airflow 1.8.0 has requirement flask-wtf==0.12, but you'll have flask-wtf 0.14 which is incompatible.
airflow 1.8.0 has requirement future<0.16,>=0.15.0, but you'll have future 0.16.0 which is incompatible.
airflow 1.8.0 has requirement gunicorn<19.4.0,>=19.3.0, but you'll have gunicorn 19.8.1 which is incompatible.
Installing collected packages: pylzma
Successfully installed pylzma-0.4.9.post0
2.~$ python
Python 2.7.12 (default, Nov 20 2017, 18:23:56)[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pylzma
>>> import py7zlib
>>>