Elastalert: Can't install elastalert on elasticsearch6.1.1 by "python-dateutil 2.7.0"

Created on 16 Mar 2018  ·  8Comments  ·  Source: Yelp/elastalert

My enviroment:
os:ubuntu 16.04
python:2.7.12
elasticsearch:6.1.1

I want to install elasalert0.1.29 by "python setup.py install",but I got this wrong:
error: python-dateutil 2.7.0 is installed but python-dateutil<2.7.0,>=2.1 is required by set(['botocore'])

Anyone can give me some advise?thanks a lot!

Most helpful comment

Hi, i had the same issue yesterday with CentOS and Kibana 6.2.

After sometime i resolved the problem simply by uninstalling python-dateutil 2.7 and installing python-dateutil 2.6.1

Hope it helps

All 8 comments

Hi, i had the same issue yesterday with CentOS and Kibana 6.2.

After sometime i resolved the problem simply by uninstalling python-dateutil 2.7 and installing python-dateutil 2.6.1

Hope it helps

Thank you for your so detailed reply!
unfortunately,I follow your reply sep by step but I sill get that issue.
I'm confused why that date-util version is still 2.7.0.Do you know how to view the version?
And is that related with elk version?

thanks a lot. I solve this problem by modifying the file "setup.py"

Np, happy that it worked out at the end

This bug is a duplicate of #1602

i have met the same problem with you.
so how did you modify the setup.py to solve this problem at last?@vincentwang0736

This is the relevant change in botocore: https://github.com/boto/botocore/pull/1402

Deleting the dateutils related files in Lib/site-packages and installing the 2.6.1 version of dateutils did the trick for me. Hope it would work for you @NaGa-s-Tear

Was this page helpful?
0 / 5 - 0 ratings