how to install rrdtool for python3? - Raspberry Pi Forums


does know how install rrdtool python3?
if try run program in python3 import error rrdtool:

code: select all

importerror: no module named 'rrdtool' 
if run same programm in python2 , no problem.

code: select all

sudo apt-get install rrdtool 
installing rrdtool python2

checked internet didn't find solution python3

edit:

did found on internet:

code: select all

unfortunately python-rrdtool package ubuntu/debian python 2.x package only. work in python 2.7 , not in python 3.4. if must use rrdtool in python 3.x have use alternative python rrdtool binding. there several choose if @ pypi.python.org (which can install pip). have not used them seem have low version count , weary of possible bugs. if did try perhaps share experience... 
looks there no straight rrdtool solution.
experience doing different solution mentioned?

way recognize lot of import problems python3!!
beside mysql not importable. looks python 3 not yet accepted new standard

thanks.

sounds should use python 2.7 if rrdtool not yet available 3.x. message looks lot of work get working on 3.


raspberrypi



Comments