lebinh/ngxtop

some sort of python problem

ovizii opened this issue · 0 comments

Trying to run ngxtop gives me this:

(2:1977)# ngxtop
Traceback (most recent call last):
File "/usr/local/bin/ngxtop", line 9, in
load_entry_point('ngxtop==0.0.2', 'console_scripts', 'ngxtop')()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 343, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2309, in load_entry_point
return ep.load()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2015, in load
entry = import(self.module_name, globals(),globals(), ['name'])
ImportError: No module named ngxtop

I figured out how to run it though but would need a permanent solution to this:

(2:1978)# python2 /usr/local/bin/ngxtop.py

Any ideas?