howmanypeoplearearound icon indicating copy to clipboard operation
howmanypeoplearearound copied to clipboard

No Module Named _Curses - Linux

Open parthk5 opened this issue 6 years ago • 6 comments

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....

parthk5 avatar May 05 '18 19:05 parthk5

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

lør. 5. maj 2018 9.44 PM skrev PythonicCoder101 [email protected]:

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 .

krestenlaust avatar May 05 '18 22:05 krestenlaust

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"

parthk5 avatar May 06 '18 19:05 parthk5

Try typing pip -V

søn. 6. maj 2018 9.49 PM skrev PythonicCoder101 [email protected]:

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 .

krestenlaust avatar May 07 '18 04:05 krestenlaust

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

parthk5 avatar May 08 '18 02:05 parthk5

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 [email protected]:

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 .

krestenlaust avatar May 08 '18 04:05 krestenlaust

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.

juergenhoetzel avatar Feb 08 '19 06:02 juergenhoetzel