schollz / howmanypeoplearearound

Count the number of people around you :family_man_man_boy: by monitoring wifi signals :satellite:
MIT License
6.92k stars 386 forks source link

No Module Named _Curses - Linux #40

Open parthk5 opened 6 years ago

parthk5 commented 6 years ago

Hi I am running linux and the program called howmanypeoplearearound seems to respond with:

Traceback (most recent call last): File "/usr/local/bin/howmanypeoplearearound", line 11, in load_entry_point('howmanypeoplearearound==0.4.0', 'console_scripts', 'howmanypeoplearearound')() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 565, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2631, in load_entry_point return ep.load() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2291, in load return self.resolve() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2297, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.6/site-packages/howmanypeoplearearound/main.py", line 17, in from pick import pick File "/usr/local/lib/python3.6/site-packages/pick/init.py", line 3, in import curses File "/usr/local/lib/python3.6/curses/init.py", line 13, in from _curses import * ModuleNotFoundError: No module named '_curses'

Can anyone help me with this issue as I have tried to work around it with the response to the older version but that does not work either....

krestenlaust commented 6 years ago

What version of python do you use, have you installed all the requirements etc ?

lør. 5. maj 2018 9.44 PM skrev PythonicCoder101 notifications@github.com:

Hi I am running linux and the program called howmanypeoplearearound seems to respond with:

Traceback (most recent call last): File "/usr/local/bin/howmanypeoplearearound", line 11, in load_entry_point('howmanypeoplearearound==0.4.0', 'console_scripts', 'howmanypeoplearearound')() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 565, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2631, in load_entry_point return ep.load() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2291, in load return self.resolve() File "/usr/local/lib/python3.6/site-packages/pkg_resources/init.py", line 2297, in resolve module = import(self.module_name, fromlist=['name'], level=0) File "/usr/local/lib/python3.6/site-packages/howmanypeoplearearound/main.py", line 17, in from pick import pick File "/usr/local/lib/python3.6/site-packages/pick/init.py", line 3, in import curses File "/usr/local/lib/python3.6/curses/init.py", line 13, in from _curses import * ModuleNotFoundError: No module named '_curses'

Can anyone help me with this issue as I have tried to work around it with the response to the older version but that does not work either....

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/schollz/howmanypeoplearearound/issues/40, or mute the thread https://github.com/notifications/unsubscribe-auth/AQYPPYGkz15Ycgpux2oQxXPmAmfDIvJLks5tvgEEgaJpZM4TzxOW .

parthk5 commented 6 years ago

Hello. I am using python 3 as shown in the output logs of file error location. And I have installed the program using the pip installation method, "pip install howmanypeoplearearound"

krestenlaust commented 6 years ago

Try typing pip -V

søn. 6. maj 2018 9.49 PM skrev PythonicCoder101 notifications@github.com:

Hello. I am using python 3 as shown in the output logs of file error location. And I have installed the program using the pip installation method, "pip install howmanypeoplearearound"

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/schollz/howmanypeoplearearound/issues/40#issuecomment-386908173, or mute the thread https://github.com/notifications/unsubscribe-auth/AQYPPSUbPGrwSocmgh0IwsQlfK7HCNIZks5tv1PUgaJpZM4TzxOW .

parthk5 commented 6 years ago

Hello again, I have ran the command and gotten the result, pip version 10.0.0.1 - python 3.6

krestenlaust commented 6 years ago

Ok, the last few commands I've sent simply were to confirm you had the correct version of python and pip, since it were correct, can you then try to reinstall it?

tir. 8. maj 2018 4.03 AM skrev PythonicCoder101 notifications@github.com:

Hello again, I have ran the command and gotten the result, pip version 10.0.0.1 - python 3.6

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/schollz/howmanypeoplearearound/issues/40#issuecomment-387261205, or mute the thread https://github.com/notifications/unsubscribe-auth/AQYPPbQRnzN3LfSO6uP_FRNN4yIzB6d-ks5twPz2gaJpZM4TzxOW .

juergenhoetzel commented 5 years ago

File "/usr/local/lib/python3.6/curses/init.py", line 13, in from _curses import *

looks like you installed a self-compiled version of python which doesn't have curses support. Most likely ncurses-devel (Header files) is missing on your system.