Hi Drupad,
Am Donnerstag, 15. April 2021, 08:44:39 CEST schrieb Drupad Soni:
> I have installed
> pip3 install elasticsearch==7.12
> raise MissingDependencyError('elasticsearch', version='>=5.0.0,<6.0.0')
There have been improvements in this code for the next version,
but the real reason for an import problem maybe hidden.
The general approach I think an administrator/devs would do is
* check the python import lines in question. You can use this in
python3 command line as brief test.
> from elasticsearch import Elasticsearch
is the line from
https://github.com/certtools/intelmq/blob/develop/intelmq/bots/outputs/
elasticsearch/output.py#L17
If you enter it in a python3 prompt, you'll see what the problem with the
import really is.
Example:
python3
[..]
>>> from elasticsearch import Elasticsearch
[..]
ModuleNotFoundError: No module named 'elasticsearch'
Your reason probably is different.
Regards,
Bernhard
--
www.intevation.de/~bernhard +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner--
List settings:
https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-users
IntelMQ Documentation: https://intelmq.readthedocs.io/