Deutsch   English   Français   Italiano  
<mailman.124.1718233009.2909.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!feeds.phibee-telecom.net!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Chris Angelico <rosuav@gmail.com>
Newsgroups: comp.lang.python
Subject: Re: Couldn't install numpy on Python 2.7
Date: Thu, 13 Jun 2024 08:56:35 +1000
Lines: 35
Message-ID: <mailman.124.1718233009.2909.python-list@python.org>
References: <CAGJtH9QConSeiZfChKaJxz4wKovKj4XUASm5ckEf=zUuD=Pypw@mail.gmail.com>
 <mailman.111.1718191856.2909.python-list@python.org>
 <L7iaO.9557$IG21.6265@fx15.ams4>
 <004401dabce6$004569e0$00d03da0$@gmail.com>
 <399785e3-0cab-4e38-b219-89863a762d38@mrabarnett.plus.com>
 <004f01dabcef$95d76d60$c1864820$@gmail.com>
 <CAPTjJmo5sEbFWje5JHAREpVOsJHQ-u4ZtHzQAubS2ox41zDt4Q@mail.gmail.com>
 <007a01dabd10$8fda0f50$af8e2df0$@gmail.com>
 <CAHVvXxRTCSYK22Tc1qKz=9+=xbeA-BzgThLEEhqN2RRGxdgmiw@mail.gmail.com>
 <CAPTjJmqmsJcr4cOmT_PK1z9VGeEisOG+wEuiiZ+HALVwfbyHoA@mail.gmail.com>
 <CAHVvXxQFhuQOZHRai+zHOTYQNz83JqdxYvo-c+NORAXsz0N47g@mail.gmail.com>
 <CAPTjJmp3P=L6N-smnEFnY=q5_b6Tur4J7sZ_kGX3HYMtRf2qEQ@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de aScX8gbZ0TY9AzxyEiYsKgZR4nlkzG+Uoky/4OrKTFhA==
Cancel-Lock: sha1:gf2V0WQJmLBe9a4N9ElD4v5YfgE= sha256:9EgD/FJzx9Sw0yA1nzkaIztUq5KSUV0Qb4HClQgJhGk=
Return-Path: <rosuav@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="2048-bit key; unprotected key"
 header.d=gmail.com header.i=@gmail.com header.b=ZoLwwHcd;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.001
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; 'pypi': 0.05;
 'happened': 0.07; 'linux,': 0.07; 'subject:install': 0.07; '2.7':
 0.09; 'angelico': 0.09; 'dependencies': 0.09; 'linux': 0.09;
 'though.': 0.09; 'subject:Python': 0.12; 'that.': 0.15; '08:51,':
 0.16; '10:09': 0.16; '2024': 0.16; 'chrisa': 0.16;
 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16;
 'greg': 0.16; 'indeed': 0.16; 'legacy': 0.16; 'opinion,': 0.16;
 'os,': 0.16; 'sadly,': 0.16; 'ssl': 0.16; 'subject:2.7': 0.16;
 'windows.': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python': 0.16;
 'probably': 0.17; "can't": 0.17; 'server.': 0.19; 'thu,': 0.19;
 'to:addr:python-list': 0.20; 'machine': 0.22; 'version': 0.23;
 'install': 0.23; 'anyone': 0.25; 'jun': 0.26; 'library': 0.26;
 'local': 0.27; 'old': 0.27; 'chris': 0.28; 'am,': 0.31; 'assume':
 0.32; 'guess': 0.32; 'python-list': 0.32; 'message-
 id:@mail.gmail.com': 0.32; 'but': 0.32; 'there': 0.33; 'server':
 0.33; 'able': 0.34; 'header:In-Reply-To:1': 0.34;
 'received:google.com': 0.34; 'running': 0.34; 'track': 0.35;
 'from:addr:gmail.com': 0.35; 'using': 0.37; 'use': 0.39; 'case.':
 0.40; 'place.': 0.40; 'something': 0.40; 'should': 0.40;
 "there's": 0.61; 'security': 0.64; 'down': 0.64; 'imagine': 0.64;
 'your': 0.64; 'management': 0.68; 'right': 0.68; 'exactly': 0.68;
 'implications': 0.69; 'losing': 0.69; 'chance': 0.71; "you'll":
 0.73; 'yourself': 0.75; 'cost,': 0.84; 'inclined': 0.84; 'os.':
 0.84; 'oscar': 0.84; 'surprised': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1718233007; x=1718837807; darn=python.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=hNTbb0J5v9mzCl7gOZaEkU8w2lubQnbAso6rz+vtbr4=;
 b=ZoLwwHcdDEs+ORhC3rS1yPQukZi+Hanzx8l+5xKnAx42UQgpvni/xCTbwNrpL3iTkm
 1L4wr9j2qsOC4ntyhNfH1WtjCniJp7GCqasScqElR6fW9YIU2LSWUJ+ZrQ2a0hIKzWFI
 tLAFB/fEQHexZsaQYlPr8Z4pBTiDUeIMMfqCFcGuHMxwMsK1/9sjUeD/U1BwRa9ksPU6
 3k775h5SSY0GmjpK07KqX08B4/Tayv+0TAj6VBnnSkfu74N9xyvitEtRL7DEVJnt5Lzw
 UV+q7bBGy5xRCT5yNBNXy9UEFCon31fVcThELPGhsyb48o6sxJYVllE7o2BoqMiZThYB
 TmcQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1718233007; x=1718837807;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=hNTbb0J5v9mzCl7gOZaEkU8w2lubQnbAso6rz+vtbr4=;
 b=OYplI4ewt91wl+29isNl9hp3e5pM7kYs9WSKxurHbeXwyfH2oHRd0vLlKh3QoWGPCy
 97f1CBX3QxqoGdFk46h76Nks+QoVScusJjElwkI7TbKx1lh/iq5MM9ZRkhsPMwYObc41
 VOUkpFzbk3o+FDH1JzSkp4Rv3FkJYr90A3bYKKnnPrVqdflSdDGDi6jKMJgqyMqHKHcF
 ppY1snJo+utZ/f5y50mrfrx4FHhYKjok/ybVHuKvPVtDD6oQl8GjusB5GHN1iQMnA2vh
 b/TX/gR4CBvDjVAl75GU7j/oYuVR3NENsAXprarCFgdXS7Sb0EMU+iufGN+zj1C02ac4
 0vuw==
X-Gm-Message-State: AOJu0YzA/mrwP0hgWD0npio1IOc5aYZ+UlEgbec3mHDuR9PvnXa5vhke
 kUVyB131YKgiDsEqlyWRV8PuYJj650c7MjRD6gIjblwSovaO/xdclBXCRecUGaaxsEnBeVARzr8
 T3nv7Ns1ztGV7b86PVZP+dU9nmCVcSPGm
X-Google-Smtp-Source: AGHT+IHD+yTK5oeDOH6W30R/2UKM1Jok5L86j9ij0TX0LdNsOpeneRxXErpkFyMpO3nmIU8Pyfq6R4GTWkxNKlyRrNE=
X-Received: by 2002:a05:6512:3130:b0:52c:9468:c991 with SMTP id
 2adb3069b0e04-52c9a3b794bmr1741434e87.14.1718233006695; Wed, 12 Jun 2024
 15:56:46 -0700 (PDT)
In-Reply-To: <CAHVvXxQFhuQOZHRai+zHOTYQNz83JqdxYvo-c+NORAXsz0N47g@mail.gmail.com>
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
 <python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
 <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
 <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CAPTjJmp3P=L6N-smnEFnY=q5_b6Tur4J7sZ_kGX3HYMtRf2qEQ@mail.gmail.com>
X-Mailman-Original-References: <CAGJtH9QConSeiZfChKaJxz4wKovKj4XUASm5ckEf=zUuD=Pypw@mail.gmail.com>
 <mailman.111.1718191856.2909.python-list@python.org>
 <L7iaO.9557$IG21.6265@fx15.ams4>
 <004401dabce6$004569e0$00d03da0$@gmail.com>
 <399785e3-0cab-4e38-b219-89863a762d38@mrabarnett.plus.com>
 <004f01dabcef$95d76d60$c1864820$@gmail.com>
 <CAPTjJmo5sEbFWje5JHAREpVOsJHQ-u4ZtHzQAubS2ox41zDt4Q@mail.gmail.com>
 <007a01dabd10$8fda0f50$af8e2df0$@gmail.com>
 <CAHVvXxRTCSYK22Tc1qKz=9+=xbeA-BzgThLEEhqN2RRGxdgmiw@mail.gmail.com>
 <CAPTjJmqmsJcr4cOmT_PK1z9VGeEisOG+wEuiiZ+HALVwfbyHoA@mail.gmail.com>
 <CAHVvXxQFhuQOZHRai+zHOTYQNz83JqdxYvo-c+NORAXsz0N47g@mail.gmail.com>
Bytes: 8099

On Thu, 13 Jun 2024 at 08:46, Oscar Benjamin via Python-list
<python-list@python.org> wrote:
> I don't know much about SSL and related networking things especially
> on Windows. I would be surprised if pip on old Python can't install
> from current PyPI though. I imagine that something strange has
> happened like a new version of pip running on an old version of Python
> or old Python on new OS (or old PyCharm...).
>
> There is no problem using Python 2.7 with pip and PyPI on this Linux
> machine but I guess it has a newer SSL library provided by the OS:

Sadly, I would NOT be surprised if this is indeed a problem on
Windows. You're exactly right - on Linux, it can use a newer SSL
library from the OS. Of course, this does assume that you've updated
your OS, which is far from a guarantee, but since this has security
implications there's a good chance you can update it while retaining a
legacy system.

On Thu, 13 Jun 2024 at 08:51, Greg Ewing via Python-list
<python-list@python.org> wrote:
> On 13/06/24 10:09 am, Chris Angelico wrote:
>  > So if anyone
>  > actually does need to use pip with Python 2.7, they probably need to
>  > set up a local server
>
> You should also be able to download a .tar.gz from PyPI and use pip
> to install that. Although you'll have to track down the dependencies
> yourself in that case.

Also a possibility; in my opinion, losing dependency management is too
big a cost, so I would be inclined to set up a local server. But then,
I would be using a newer SSL library and not have the problem in the
first place.

ChrisA