pip install elasticsearch

should solve the problem, though it is listed in dependencies, so it should 
just work from the beginning.
elasticsearch is listing python 2 and 3, curator doesn't list any, but I 
don't see anything version-specific in its code, so should work with any 
verions.
I've tested it with python3.

On Monday, July 14, 2014 8:30:27 PM UTC+1, Brian wrote:
>
> To continue, I installed curator on a Python 2.6.6 system thusly:
>
> pip install elasticsearch-curator
>
> And Elasticsearch 1.2.1 is installed on the same server. But when running 
> curator --help, I see:
>
> *$ curator --help*
> Traceback (most recent call last):
>   File "/usr/bin/curator", line 5, in <module>
>     from pkg_resources import load_entry_point
>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2655, in 
> <module>
>     working_set.require(__requires__)
>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 648, in 
> require
>     needed = self.resolve(parse_requirements(requirements))
>   File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 546, in 
> resolve
>     raise DistributionNotFound(req)
> pkg_resources.DistributionNotFound: elasticsearch>=1.0.0,<2.0.0
>
> This was per the information found at: 
> https://github.com/elasticsearch/curator
>
> I'm not a Python dev (yet, anyway) but I don't believe I left anything out 
> that was explicitly mentioned on the curator github page.
>
> Brian
>
> On Monday, July 14, 2014 3:00:27 PM UTC-4, Brian wrote:
>>
>> A quick question: Is Python 2 acceptable for use with curator, or is 
>> Python 3 required?
>>
>> Thanks!
>>
>> Brian
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/6e5ac117-1b00-4747-b0e5-cae47e17baa2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to