question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ImportError: No module named staticconf.loader

See original GitHub issue

When trying to run I’m getiing this error:

Traceback (most recent call last): File "./elastalert.py", line 20, in <module> from alerts import DebugAlerter File "/home/myuser/Desktop/elastalert-master/elastalert/alerts.py", line 19, in <module> from staticconf.loader import yaml_loader ImportError: No module named staticconf.loader

Any help?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Qmandocommented, Nov 2, 2016

pip install PyStaticConfiguration ?

0reactions
ruriacommented, Jun 2, 2017

It works, thx

Read more comments on GitHub >

github_iconTop Results From Across the Web

elastalert - How to fix "ImportError: No module named error"
I just have the same problem. I used python 2.7 to install elastalert. So I remove elastalert and reinstall it with python36
Read more >
staticconf.loader — PyStaticConfiguration 0.10.2 documentation
Source code for staticconf.loader. """ Load configuration values from different file formats and python structures. Nested dictionaries are flattened using ...
Read more >
Yelp/elastalert - Gitter
Hi, Can I use --rule switch to give rule directory path? Any sample command? tried the same but its saying no rule loaded....
Read more >
2021 How to Fix "No Module Named..." Error in Python
2021 How to Fix ImportError " No Module Named pkg_name" in Python! First, download the package using a terminal outside of python.
Read more >
Python load package - ProgramCreek.com
This page shows Python code examples for load package. ... if name in sys.modules: return _exec(spec, sys.modules[name]) else: return _load(spec). Example 2 ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found