Home > Blockchain >  Why is the curses module not installing via pip?
Why is the curses module not installing via pip?

Time:11-17

I have been trying to install the curses module using the command "pip install windows-curses" but it does not seem to be working and it errors out saying:

ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
ERROR: No matching distribution found for windows-curses

[Edit: I am using python 3.10]

I installed the requests package after that using pip but that seems to install perfectly. So, pip is working correctly, just not the curses module. Is it a problem on my end or is this package actually not available?

CodePudding user response:

Currently the latest version of windows-curses is 2.2.0 and it provides wheels for Python 3.6-3.8 and no source code.

Most probably you use Python 3.9 or 3.10 (you should have indicated in the question). To use windows-curses you need to downgrade. You can also download wheels from https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses

  • Related