lebinh / ngxtop

Real-time metrics for nginx server
MIT License
6.49k stars 473 forks source link

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sUaq4f/docopt/ #82

Open aikusuma opened 7 years ago

aikusuma commented 7 years ago

Hi,

i got error when trying pip install ngxtop i've been saw this issue before https://github.com/lebinh/ngxtop/issues/46 but i already installing the newest Python 2.7.14.

root@api:~# sudo pip install ngxtop
Collecting ngxtop
  Using cached ngxtop-0.0.2-py2.py3-none-any.whl
Collecting docopt (from ngxtop)
  Using cached docopt-0.6.2.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named setuptools

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-sUaq4f/docopt/

Thank you