Which curses version should I use under Windows
On 2019-06-18 04:57, jfong at ms4.hinet.net wrote:
> Terry Reedy? 2019?6?18???? UTC+8??11?03?00????
>> On 6/17/2019 10:54 PM, jfong at ms4.hinet.net wrote:
>> > c:\Works\Python34>pip install windows-curses
>> > DEPRECATION: Python 3.4 support has been deprecated. pip 19.1 will be the last one supporting it. Please upgrade your Python as Python 3.4 w
>> > on't be maintained after March 2019 (cf PEP 429).
>> > Collecting windows-curses
>> > ERROR: Could not find a version that satisfies the requirement windows-curses (from versions: none)
>> > ERROR: No matching distribution found for windows-curses
>> > What to do?
>> What is says, use a newer python.
>> It is quite possible that there is not 3.4 package for windows-curses.
>> Look it up on pypi.org.
>> Terry Jan Reedy
> You are right, there is no package for Python 3.4.
> In the project description:
> '''Adds support for the standard Python curses module on Windows. Based on https://www.lfd.uci.edu/~gohlke/pythonlibs/#curses. Uses the PDCurses curses implementation.'''
> Do I have to install the curses package mentioned there before install/use windows-curses? How to use this windows-curses? still "import curses"? I am so confused!
1. Install a more recent version of Python. Python 3.7 is the current
version. (Python 3.4 is no longer supported.)
2. Install windows-curses using pip for that version of Python.