influxdb python: 404 page not found
<p>I am trying to use the influxdb-python lib which I found <a href="https://github.com/influxdata/influxdb-python" rel="noreferrer">here</a>. But I cant even get the tutorial programm to work. </p>

<p>When I run the following example code:</p>

<pre><code>$ python

&gt;&gt;&gt; from influxdb import InfluxDBClient

&gt;&gt;&gt; json_body = [
    {
        "measurement": "cpu_load_short",
        "tags": {
            "host": "server01",
            "region": "us-west"
        },
        "time": "2009-11-10T23:00:00Z",
        "fields": {
            "value": 0.64
        }
    }
]

&gt;&gt;&gt; client = InfluxDBClient('localhost', 8086, 'root', 'root', 'example')

&gt;&gt;&gt; client.create_database('example')
</code></pre>

<p>I get this error message with the last line:</p>

<pre><code>&gt;&gt;&gt; client.create_database('example')
Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 318, in create_database
    status_code=201
  File "/usr/lib/python2.7/dist-packages/influxdb/client.py", line 124, in request
    raise InfluxDBClientError(response.content, response.status_code)
influxdb.client.InfluxDBClientError: 404: 404 page not found
</code></pre>

<p>My installed version:</p>

<pre><code>pi@raspberrypi:~ $ influx
Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring.
Connected to http://localhost:8086 version 0.9.6.1
InfluxDB shell 0.9.6.1
</code></pre>

<p>It would be really nice if somebody can point me to my probleme here.</p>

<p><strong>UPDATE</strong></p>

<p>Maybe this is helpful. I am on a Raspberry Pi 3 with Jessie and installed influxdb with this tuturial <a href="http://padcom13.blogspot.co.at/2015/12/influxdb-telegraf-and-grafana-on.html" rel="noreferrer">link</a></p>

<p><strong>UPDATE 2</strong></p>

<p>if I run <code>curl http://localhost:8086</code> I also get 404 page not found. On the Port 8083 i get a response. </p>