an adventure: a Lisp-style linked list

2025-09-03 Thread Ethan Carter
# -*- mode: python; python-indent-offset: 2 -*- ## As an exercise, I decided to implement a Lisp-style linked list ## using a class List. I'm a bit surprised by the result: it seems ## polymorphism forces me to write a recursive procedure in two ## halves: one half in the List class itself and th

Re: Error installing matplotlib

2025-09-03 Thread Mats Wichmann
On 9/3/25 07:20, Rob Cliffe wrote: On 03/09/2025 00:01, Mats Wichmann wrote: On 9/2/25 14:51, Rob Cliffe via Python-list wrote: There are two roots here: (1) it's not finding a prebuilt wheel.  You can see that because it's proposing to use the source distribution instead: > Collecting

Re: Error installing matplotlib

2025-09-03 Thread Rob Cliffe via Python-list
On 03/09/2025 14:59, Mats Wichmann wrote: On 9/3/25 07:20, Rob Cliffe wrote: On 03/09/2025 00:01, Mats Wichmann wrote: On 9/2/25 14:51, Rob Cliffe via Python-list wrote: There are two roots here: (1) it's not finding a prebuilt wheel.  You can see that because it's proposing to use the

Re: Error installing matplotlib

2025-09-03 Thread Left Right via Python-list
It's never a good idea to run pip install without --only-binary. This should be the default that you never change. The current default is a security hazard as well as leads you to the situation you are in with no good way of debugging the problem. What you could try doing: download the wheel you a

Re: Image enhance

2025-09-03 Thread AM CR via Python-list
Good morning everyone. First of all, thank you in advance for your advice and suggestions. After a few attempts, I've come to the conclusion that working on Windows XP isn't very reasonable, given the many advances available. I'll try this on a Windows 7 Home machine. I'd appreciate it if someo

Re: Error installing matplotlib

2025-09-03 Thread Oscar Benjamin via Python-list
On Wed, 3 Sep 2025, 15:40 Rob Cliffe, wrote: > > > On 03/09/2025 15:35, Oscar Benjamin wrote: > > > > On Wed, 3 Sep 2025, 15:21 Rob Cliffe via Python-list, < > python-list@python.org> wrote: > >> >> >> On 03/09/2025 14:59, Mats Wichmann wrote: >> > On 9/3/25 07:20, Rob Cliffe wrote: >> >> >> >> >

Re: Error installing matplotlib

2025-09-03 Thread Oscar Benjamin via Python-list
On Wed, 3 Sep 2025, 15:21 Rob Cliffe via Python-list, < python-list@python.org> wrote: > > > On 03/09/2025 14:59, Mats Wichmann wrote: > > On 9/3/25 07:20, Rob Cliffe wrote: > >> > >> > >> On 03/09/2025 00:01, Mats Wichmann wrote: > >>> On 9/2/25 14:51, Rob Cliffe via Python-list wrote: > > > > >

Re: Error installing matplotlib

2025-09-03 Thread Rob Cliffe via Python-list
On 03/09/2025 15:35, Oscar Benjamin wrote: On Wed, 3 Sep 2025, 15:21 Rob Cliffe via Python-list, wrote: On 03/09/2025 14:59, Mats Wichmann wrote: > On 9/3/25 07:20, Rob Cliffe wrote: >> >> >> On 03/09/2025 00:01, Mats Wichmann wrote: >>> On 9/2/25 14:51, Rob Clif

Re: Error installing matplotlib

2025-09-03 Thread Rob Cliffe via Python-list
On 03/09/2025 00:01, Mats Wichmann wrote: On 9/2/25 14:51, Rob Cliffe via Python-list wrote: There are two roots here: (1) it's not finding a prebuilt wheel.  You can see that because it's proposing to use the source distribution instead: > Collecting matplotlib >    Using cached matplot

Re: Image enhance

2025-09-03 Thread Joel Goldstick via Python-list
On Tue, Sep 2, 2025 at 1:46 PM amrodi--- via Python-list wrote: > > I'm new to Python. > Operating System - Windows XP SP3 > Python 2.7 installed. > > I got a script that tries to improve the image? > I created a bat file using the command line. > > C:\python27\python.exe d:\temp\teste.py > >

Re: Error installing matplotlib

2025-09-03 Thread Mats Wichmann
On 9/2/25 14:51, Rob Cliffe via Python-list wrote: Hello, can anyone help?  All assistance gratefully received.  I am running python 3.13.3 on a Windows 11 machine and trying to do     pip install matplotlib (No, I don't need to say "python -m ...", I am running the right version of python.exe

Re: Image enhance

2025-09-03 Thread MRAB
On 2025-09-03 13:06, AM CR via Python-list wrote: Good morning everyone. First of all, thank you in advance for your advice and suggestions. After a few attempts, I've come to the conclusion that working on Windows XP isn't very reasonable, given the many advances available. I'll try this on a