ngxtop
ngxtop copied to clipboard
ImportError: No module named 'config_parser' under python 3.4
I run ngxtop in virtualenv: can not find config_parser
(py3virtualenv)[root@xxxx ~]# ngxtop
Traceback (most recent call last):
File "/root/py3virtualenv/bin/ngxtop", line 7, in
This has already been fixed. It would be great if we could get another official release so it can be packaged.
all internal modules like utils
or config_parser
need to be prefixed by ngxtop.
, like in from ngxtop.utils import ...
Still not fixed in pip package?
For anyone who has come across this (like me), you can clone the git repo and install it from that if you need to get going:
git clone https://github.com/lebinh/ngxtop
cd ngxtop
pip install .