You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Quick query, installed curator and when attempting to run getting the below error.
We have elasticsearch installed greater than version 1.0.0 but its stating its not finding the dependancy.
Elasticsearch has been installed via the RPM from the site, is this why its not picking up the dependancy is there?
Details:
Traceback (most recent call last):
File "/usr/bin/curator", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2957, in
working_set.require(requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 695, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: elasticsearch>=1.0.0,<2.0.0
The text was updated successfully, but these errors were encountered:
This is a known issue with some installations. See #56 & #77.
The best workaround is to run /usr/lib/python2.6/site-packages/curator/curator_script.py (or whatever path it is in on your system). The entry_point at /usr/bin/curator really just calls this script anyway. Something about your python install does not allow the entry point to find the elasticsearch-py dependency which curator installs for you.
The RPM bit is a red herring. As @electrical pointed out, the RPM installs Elasticsearch, and curator installs a python module called elasticsearch-py as a dependency.
Hi,
Quick query, installed curator and when attempting to run getting the below error.
We have elasticsearch installed greater than version 1.0.0 but its stating its not finding the dependancy.
Elasticsearch has been installed via the RPM from the site, is this why its not picking up the dependancy is there?
Details:
Traceback (most recent call last):
File "/usr/bin/curator", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 2957, in
working_set.require(requires)
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 695, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: elasticsearch>=1.0.0,<2.0.0
The text was updated successfully, but these errors were encountered: