MRAB於 2019年6月18日星期二 UTC+8下午6時12分50秒寫道: > On 2019-06-18 04:57, jf...@ms4.hinet.net wrote: > > Terry Reedy於 2019年6月18日星期二 UTC+8上午11時03分00秒寫道: > >> On 6/17/2019 10:54 PM, jf...@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. > > That's it!
It works, thank you. -- https://mail.python.org/mailman/listinfo/python-list