Python 3.6+中的循环数据库

问题描述 投票:0回答:1

我想在Python中为一些时间序列数据构建循环数据库。我看了几个Python模块(PyRRD,py-rrdtool,python-rrdtool,rrdtool),但据我所知,它们都没有提供对Python 3.6+的支持。有关如何在Python 3.6+中实现rrd数据库的任何建议?

我尝试用pip install python-rrdtool安装python-rrdtool但我得到的结果是:

Collecting python-rrdtool
Using cached https://files.pythonhosted.org/packages/99/af/bf46df3104d78591f942278467a1016d056a887c808ed1127207a4e1ebaf/python-rrdtool-1.4.7.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pycharm-packaging/python-rrdtool/setup.py", line 61
    os.chmod(executable, 0777)
                            ^
SyntaxError: invalid token

----------------------------------------

    Command "python setup.py egg_info" failed with error code 1 in /tmp/pycharm-packaging/python-rrdtool/
You are using pip version 10.0.1, however version 19.0.3 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
python rrdtool rrd
1个回答
0
投票

python-rrdtool具有本机C扩展的RRDtool的Python绑定。

支持的Python版本:2.6 +,3.3 +。

绑定基于Hye-Shik Chang对rrdtool的原始Python 2绑定的代码,这些绑定目前作为rrdtool的官方绑定提供。

注意:python-rrdtool现在是官方rrdtool Python绑定并随上游发行版一起提供。

© www.soinside.com 2019 - 2024. All rights reserved.