Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Module Named _Curses - Linux #40

Open
parthk5 opened this issue May 5, 2018 · 6 comments
Open

No Module Named _Curses - Linux #40

parthk5 opened this issue May 5, 2018 · 6 comments

Comments

@parthk5
Copy link

parthk5 commented May 5, 2018

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
Copy link

krestenlaust commented May 5, 2018 via email

@parthk5
Copy link
Author

parthk5 commented May 6, 2018

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
Copy link

krestenlaust commented May 7, 2018 via email

@parthk5
Copy link
Author

parthk5 commented May 8, 2018

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

@krestenlaust
Copy link

krestenlaust commented May 8, 2018 via email

@juergenhoetzel
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants