python 安装influxdb-python

时间:2023-03-09 07:10:00
python 安装influxdb-python
一、Linux下安装
1.yum install -y git
3.
git clone https://github.com/influxdb/influxdb-python.git
cd influxdb-python
pip install -r requirements.txt
python setup.py install 4.打开python
输入
from influxdb import client as influxdb

如果没有错误信息,则表示安装成功

二、windows下安装
1.安装requests
命令行:python setup.py install
2.安装influxdb-python

命令行:python setup.py install

附件:

https://app.yinxiang.com/shard/s41/res/ad265528-5b41-4aa0-a430-4669aa43a961/requests-2.5.0.tar.gz

https://app.yinxiang.com/shard/s41/res/b20586f4-c996-435f-bf20-333b3f7c74c3/influxdb-python-master.zip