dellelce / mkit

build software from (latest available) source
1 stars 2 forks source link

python: fails to detect curses library #8

Open dellelce opened 4 years ago

dellelce commented 4 years ago

The python profile fails to detect the curses.h header because of the default install of curses uses a sub-directory ($PREFIX/include/ncurses) while python source expects the curses.h header to be in the top includes ($PREFIX/include) directory. Other modules (readline) detect the header file correctly.

dellelce commented 1 year ago

This issue is still there.

dellelce commented 7 months ago

as of current version (3.12.1) the issue is still there:

>>> import curses
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/app/python/lib/python3.12/curses/__init__.py", line 13, in <module>
    from _curses import *
ModuleNotFoundError: No module named '_curses'