Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is the curses module not installing via pip?

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?

like image 248
Titan Avatar asked Oct 31 '25 23:10

Titan


1 Answers

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

like image 114
phd Avatar answered Nov 03 '25 13:11

phd



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!