X-pack and sql in python

Which version of Elasticsearch are you using? What does the elasticsearch.yml file look like? What do you get if you run the info API?