elastalert: Dont know whether it is installed or not
i have followed the url to install elastalert http://elastalert.readthedocs.io/en/latest/running_elastalert.html#downloading-and-configuring
, it says to install
$ pip install -r requirements.txt
but when i run that i am getting this
Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
and also
Next, open up config.yaml.example
i could not see where it is
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (7 by maintainers)
You’ve got a couple options
use
python -m elastalert.create_indexinstead ofelastalert-create-indexandpython -m elastalert.elastalertinstead ofelastalertandpython -m elastalert.test_ruleinstead ofelastalert-test-rule. This bypasses the pkg_resources runtime check for package issues and will probably work fine.Uninstall elastalert and install it again via pip. Do not use
python setup.py install. When you install via setuptools and then change the version of libraries via pip, it gives you this error. I only recently changed the documentation for installation so sorry for the confusion.maybe pip install --upgrade elastalert will overwrite the package entrypoints, I dunno.
Try to resolve these dependencies manually, like
pip install "six==1.8.0, etc