This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author shreyanavigyan
Recipients brett.cannon, eric.smith, eric.snow, ncoghlan, ned.deily, ronaldoussoren, serhiy.storchaka, shreyanavigyan
Date 2021-04-05.15:07:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617635228.58.0.964441110069.issue43728@roundup.psfhosted.org>
In-reply-to
Content
> Is installing _curses possible, on any supported platform? Or would a better message say that curses is not supported on this platform?

No _curses can't be installed on any platform. I don't know about macOS but _curses can be installed on Windows and Linux (and presumably any UNIX-based OS). On Windows, Christoph Gohlke's unofficial curses, windows-curses and lot's of libraries allows us to use _curses library. Though I think curses can't be used directly on Windows cmd or powershell. Terminals provided by the Mingw-w64 project, the Cygwin project, etc., most presumably support curses library. WSL terminal also seem to support curses (ncurses). 

So what about a error message like this :-

ModuleNotFoundError: _curses library not found. Install a supported _curses library to use the curses module or migrate to a supported platform.

N.B.: UniCurses library may work with Windows cmd or powershell because it wraps up the PDCurses library on Windows which was developed specifically to work with Windows. Though UniCurses actually can't be used with the Python built-in module curses. We have to specifically import 'unicurses' to use it.
History
Date User Action Args
2021-04-05 15:07:08shreyanavigyansetrecipients: + shreyanavigyan, brett.cannon, ronaldoussoren, ncoghlan, eric.smith, ned.deily, eric.snow, serhiy.storchaka
2021-04-05 15:07:08shreyanavigyansetmessageid: <1617635228.58.0.964441110069.issue43728@roundup.psfhosted.org>
2021-04-05 15:07:08shreyanavigyanlinkissue43728 messages
2021-04-05 15:07:08shreyanavigyancreate