Ned Deily <n...@python.org> added the comment:

"Install a supported _curses library"

That's not correct advice. _curses is the name of the support module written in 
C in the Python Standard Library. If it is not available to import in an 
installation, it's most likely because the build of the module failed because 
the third-party libraries that implement curses functionality was not installed 
or not found during the build. How you install the third-party curses library 
varies greatly by platform or distribution. Some distributions have multiple 
variants of curses packages, ones with just libraries and others ("-dev" 
packages) that include header files necessary for Python to build its _curses 
module.  The Dev Guide has some information on dependencies in general and the 
details for _curses are in the code in setup.py.  It's also possible that the 
distributor has broken Python curses support out into a separate package. So 
it's not easy to provide a message with a useful specific suggestion; there are 
just too many cases.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43728>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to