title: Unable to get influxdb-python client to work
body: <p>Environment:</p>
  
  <ul>
  <li><p>Platform is Ubuntu 16.10.</p></li>
  <li><p>influxdb v1.2.0</p></li>
  <li><p>influxdb-python v4.0.0</p></li>
  </ul>
  
  <p>I can connect to the server and perform queries with the influx client, with no problem.</p>
  
  <p>I can perform queries using POSTman.</p>
  
  <p>However, when I try any of the influxdb-python examples, I consistently get the following error:</p>
  
  <pre><code>$ python tutorial.py
  Create database: example
  Traceback (most recent call last):
    File "tutorial.py", line 68, in &lt;module&gt;
      main(host=args.host, port=args.port)
    File "tutorial.py", line 33, in main
      client.create_database(dbname)
    File "/usr/local/lib/python2.7/dist-packages/influxdb-4.0.0-py2.7.egg/influxdb/client.py", line 488, in create_database
      self.query("CREATE DATABASE {0}".format(quote_ident(dbname)))
    File "/usr/local/lib/python2.7/dist-packages/influxdb-4.0.0-py2.7.egg/influxdb/client.py", line 339, in query
      expected_response_code=expected_response_code
    File "/usr/local/lib/python2.7/dist-packages/influxdb-4.0.0-py2.7.egg/influxdb/client.py", line 246, in request
      raise e
  requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8086): Max retries exceeded with url: /query?q=CREATE+DATABASE+%22example%22&amp;db=example (Caused by NewConnectionError('&lt;requests.packages.urllib3.connection.HTTPConnection object at 0x7f39e6909b10&gt;: Failed to establish a new connection: [Errno 11] Resource temporarily unavailable',))
  </code></pre>
  
  <p>Any ideas?</p>