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!
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
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
-wget https://pypi.python.org/packages/54/bb/f1db86504f7a49e1d9b9301531181b00a1c7325dc85a29160ee3eaa73a54/python-dateutil-2.6.1.tar.gz#md5=db38f6b4511cefd76014745bb0cc45a4
-tar -xvf python-dateutil-2.6.1.tar.gz
-cd python-dateutil-2.6.1
-python setup.py install
Hope it helps