tar zxvf pip-1.5.6.tar.gz
cd pip-1.5.6
python setup.py install
yum install gcc cmake make python-devel cairo-devel libxml2 libxml2-devel pango-devel pango libpng-devel freetype freetype-devel libart_lgpl-devel -y
ln -s /usr/lib64/librrd.so.4 /usr/lib64/librrd.so
pip install python-rrdtool-1.4.7.tar.gz
转载于:https://www.cnblogs.com/fynn/p/4139123.html