first, the installation of Linux 1.yum install-y git2. Install PIP, reference: https://app.yinxiang.com/shard/s41/sh/0338ba85-5443-453f-b8c1-349a70377e73/ 7b712e4a6718279862eae0b71de43697 3.
git clone https://github.com/influxdb/influxdb-python.gitcd influxdb-pythonpip install-r Requirements.txtpython setup.py Install
4. Open Python
Input
From influxdb import client as Influxdb
If there is no error message, installation is successful
two, Windows installation 1. Install the requests command line: Python setup.py install 2. Installing the Influxdb-python
Command line: Python setup.py install
Attachment:
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
Python installation Influxdb-python