lebinh / ngxtop

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

ImportError: No module named _curses #66

Open junweigu opened 8 years ago

junweigu commented 8 years ago

centos

python 3.4.1

when run ngxtop,it will have "ImportError: No module named _curses",how can i solve the problem?

mikepietruszka commented 8 years ago

Do you have /usr/lib64/python2.7/lib-dynload/ or /usr/lib64/python2.7/lib-dynload/_curses.so? What CentOS version? You might need curses devel lib.

junweigu commented 8 years ago

hi, i found _curses.so in /usr/lib64/python2.6/lib-dynload/ .my centos is 6.7(final),how can i solve it?

madsmtm commented 5 years ago

I was having the same issue, see https://github.com/pmbarrett314/curses-menu/issues/18#issuecomment-191015154 for a probable fix