Re: Which curses version should I use under Windows

2019-06-18 Thread jfong
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


Re: Which curses version should I use under Windows

2019-06-18 Thread MRAB

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!
--
https://mail.python.org/mailman/listinfo/python-list


Re: Which curses version should I use under Windows

2019-06-17 Thread jfong
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!


-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which curses version should I use under Windows

2019-06-17 Thread Terry Reedy

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

--
https://mail.python.org/mailman/listinfo/python-list


Re: Which curses version should I use under Windows

2019-06-17 Thread jfong
MRAB於 2019年6月18日星期二 UTC+8上午10時08分23秒寫道:
> On 2019-06-18 02:39, jf...@ms4.hinet.net wrote:
> > As many others had encountered, when I import the curses module under 
> > Windows, I got
> > 
> >  ImportError: No module named '_curses'
> > 
> > Search "curses" on the Pypi returns plenty of related packages. Which one 
> > should I use? Is this package still valid on usage? Any comment will be 
> > appreciated.
> > 
> I'd probably go for "windows-curses". Seems to install OK.

Thank you for your prompt reply.

I got the following error:

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?
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: Which curses version should I use under Windows

2019-06-17 Thread MRAB

On 2019-06-18 02:39, jf...@ms4.hinet.net wrote:

As many others had encountered, when I import the curses module under Windows, 
I got

 ImportError: No module named '_curses'

Search "curses" on the Pypi returns plenty of related packages. Which one 
should I use? Is this package still valid on usage? Any comment will be appreciated.


I'd probably go for "windows-curses". Seems to install OK.
--
https://mail.python.org/mailman/listinfo/python-list


Which curses version should I use under Windows

2019-06-17 Thread jfong
As many others had encountered, when I import the curses module under Windows, 
I got

ImportError: No module named '_curses'

Search "curses" on the Pypi returns plenty of related packages. Which one 
should I use? Is this package still valid on usage? Any comment will be 
appreciated.

--Jach
-- 
https://mail.python.org/mailman/listinfo/python-list