Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Event error #62

Closed
sangmeshcp opened this issue Jan 18, 2017 · 3 comments
Closed

Import Event error #62

sangmeshcp opened this issue Jan 18, 2017 · 3 comments

Comments

@sangmeshcp
Copy link

../../lib/logger/elkhandler.py:5: in
import logstash
lib/python3.4/site-packages/logstash/init.py:2: in
from event import Event
E ImportError: No module named 'event'

I have installed events and python-logstash using pip and both are satisfied.. I'm using python
python --version
Python 3.4.3

pip install events
Requirement already satisfied: events in /lib/python3.4/site-packages
pip install python-logstash
Requirement already satisfied: python-logstash in /lib/python3.4/site-packages

@sangmeshcp
Copy link
Author

actually found the issue .. i had pip install logstash which was being called instead of python-logstash ... removed the logstash using pip uninstall logstash solved the problem...

@RutujaWanjari
Copy link

Hello there,

I have installed python-lostash, still I am getting "ModuleNotFound: No module named event" on -
from event import Event

Python Environment -- Python 3.6.4 :: Anaconda custom (64-bit)

@BRIGHTON-ASUMANI
Copy link

Have you tried using events instead of event

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants