Traceback (most recent call last):
File "manage.py", line 11, in <module>
import rrdtool
ImportError: /opt/PROJS/flask-rrd-master/venv/lib/python2.7/site-packages/rrdtool.so: undefined symbol: rrd_flushcached
yum install rrdtool-devel rrdtool
但安装后问题仍没有解决。
解决方法:重新编译并安装rrdtool
1、下载rrdtool
wget http://oss.oetiker.ch/rrdtool...
2、编译并安装rrdtool
tar zxvf rrdtool-1.5.6.tar.gz
cd rrdtool-1.5.6
./configure --prefix=/usr/local
make
make install
3、使用pip安装python-rrdtool模块
pip install rrdtool