ibmcb / cbtool

Cloud Rapid Experimentation and Analysis Toolkit
Apache License 2.0
77 stars 49 forks source link

Install: rrdplot related dependencies install instructions are broken on centos #438

Closed rayx closed 1 month ago

rayx commented 1 month ago

rrdplot is a script under util/plot. It's not required for using CBTOOL. However, its dependencies are installed by install script. I find two issues on centos:

1) There is no python3-rrdtool package on centos

Workaround: install the module manually before running install script.

$ sudo pip3 install rrdtool

BTW, I later found there was rrdtool-python.x86_64 package on centos base repository. I didn't try it so I don't know if it's a python2 or python3 package.

2) Python module jsonschema doesn't have __version__ attribute, which causes the check command in the script fails.

Related discussion: https://stackoverflow.com/questions/64783012/failed-to-find-package-metadata-for-jsonschema

Workaround: just ignore the error

rayx commented 1 month ago

Moved to #439