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 'config_parser'

See original GitHub issue

After installing when I am trying to run ngxtop its giving me error

Traceback (most recent call last):
  File "/usr/bin/ngxtop", line 7, in <module>
    from ngxtop.ngxtop import main
  File "/usr/lib64/python3.4/site-packages/ngxtop/ngxtop.py", line 77, in <module>
    from config_parser import detect_log_config, detect_config_path, extract_variables, build_pattern
ImportError: No module named 'config_parser'

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
pffscommented, Apr 1, 2018

@wonderer007 I ran into the same issue, and after fixing it realized that the fixes are actually already present inside github, the issue is really that the pypi version of this predates those fixes. If you clone this repo and install from there, it’s working just fine. The version needs to get bumped to 0.0.3 and uploaded to pypi so that the pypi version actually works on install.

2reactions
lebinhcommented, Dec 21, 2020

I also don’t like 2020, so here the new version: https://pypi.org/project/ngxtop/0.0.3/

Read more comments on GitHub >

github_iconTop Results From Across the Web

Python 3 ImportError: No module named 'ConfigParser'
I was getting install error for all the python packages. Abe Karplus's solution & discussion gave me the hint as to what could...
Read more >
How to Solve ImportError: No module named ConfigParser?
It means, you have to install ConfigParser module. I suggest you to install Python PIP, which allows you to install modules quite easily....
Read more >
No Module Named Configparser - MindMajix Community
As the error states, the packstack command is not capable of loading one of the Python modules, which is named as ConfigParser. It...
Read more >
"ImportError: No module named configparser" error on Python ...
My first guess is that it's because such package does not exist in Python 2.7 - we can either import if from six...
Read more >
[Solved] No Module Named Configparser - Encoding Compiler
The correct answer for modulenotfounderror: no module named 'configparser' ... The error says that the “packstack” command cannot load the Python module named...
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