安装gcc 等一堆依赖
sudo yum install gcc make cmake zlib-devel bzip2 bzip2-devel readline-devel sqlite sqlite-devel openssl-devel xz xz-devel libffi-devel
安装python3: https://blog.csdn.net/qq_27825451/article/details/100034135
运行python中出现的问题:fatal error: Python.h: No such file or directory
系统中没有python.h的原因,是因为没有安装python的开发版,即Python-devel这个包
yum install python-devel
安装python 内存分析工具 python2.7.5
# setuptools 版本太高会出错
pip install setuptools==32.1.0
pip install -U memory_profiler
pip install guppy