# Call command "curator\_cli --help" get error message

**URL:** https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948
**Category:** Elasticsearch
**Created:** [June 7, 2018, 10:11am UTC](https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948 "2018-06-07T10:11:15Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![wuwenjie\_cn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuwenjie_cn/32/32514_2.png) [@wuwenjie\_cn](https://discuss.elastic.co/u/wuwenjie_cn)
#### Post date: [June 7, 2018, 10:11am UTC](https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948/1 "2018-06-07T10:11:15Z")

</div>

```
[root@FTJF-ELK-TEST ~]# curator --help
Traceback (most recent call last):
  File "/usr/local/python2.7/bin/curator", line 7, in <module>
    from curator.cli import cli
  File "/usr/local/python2.7/lib/python2.7/site-packages/curator/ __init__.py", line 6, in <module>
    from .utils import *
  File "/usr/local/python2.7/lib/python2.7/site-packages/curator/utils.py", line 1, in <module>
    import elasticsearch
  File "/usr/local/python2.7/lib/python2.7/site-packages/elasticsearch/ __init__.py", line 17, in <module>
    from .client import Elasticsearch
  File "/usr/local/python2.7/lib/python2.7/site-packages/elasticsearch/client/ __init__.py", line 4, in <module>
    from ..transport import Transport
  File "/usr/local/python2.7/lib/python2.7/site-packages/elasticsearch/transport.py", line 4, in <module>
    from .connection import Urllib3HttpConnection
  File "/usr/local/python2.7/lib/python2.7/site-packages/elasticsearch/connection/ __init__.py", line 3, in <module>
    from .http_urllib3 import Urllib3HttpConnection, create_ssl_context
  File "/usr/local/python2.7/lib/python2.7/site-packages/elasticsearch/connection/http_urllib3.py", line 2, in <module>
    import ssl
  File "/usr/local/python2.7/lib/python2.7/ssl.py", line 98, in <module>
    import _ssl # if we can't import it, let the error propagate
```

---

<div class="post-metadata">

### Author: ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)
#### Post date: [June 7, 2018, 1:31pm UTC](https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948/2 "2018-06-07T13:31:16Z")

</div>

I'm guessing that you have a much older version of Python 2.7, and it does not have the appropriate SSL libraries.

Have you considered installing one of the [RPM](https://www.elastic.co/guide/en/elasticsearch/client/curator/current/yum-repository.html) or [DEB](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.5/apt-repository.html) packages (if this is a linux box)? These pre-packaged versions come with their own version of Python 3.6, and are fully up-to-date.

If it's some other unix-like system (FreeBSD, etc) that cannot use DEB/RPM packages, have please consider installing Python 3.5 or better still, 3.6. Older versions of Python 2.7 may simply not have the correct SSL libraries/modules installed. Curator is tested with the latest versions of Python 2.7, 3.5, and 3.6. Older than 2.7.10 or 2.7.11 may be in need of an update.

---

<div class="post-metadata">

### Author: ![wuwenjie\_cn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wuwenjie_cn/32/32514_2.png) [@wuwenjie\_cn](https://discuss.elastic.co/u/wuwenjie_cn)
#### Post date: [June 8, 2018, 3:20am UTC](https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948/3 "2018-06-08T03:20:50Z")

</div>

After I upgraded my python to 3.6, the problem was solved. Thank you very much for you help!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 6, 2018, 3:20am UTC](https://discuss.elastic.co/t/call-command-curator-cli-help-get-error-message/134948/4 "2018-07-06T03:20:54Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
