delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/03/06/17:49:32

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 897043858C66
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1678142933;
bh=ab08SB9hVIT3Q3Sa+xMdt/O5BjQGO6uxeldZvJagHpU=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=TWTAQQV2ZOxnb/U4NfwpM2fUZxCNYL8jilxti0ScUwv9hEuZ0aLV6LR79WBodLgsg
ho302DyBLfj7yzzPHGzY3quuWMMCg/O6xkKDTQn1vYgAWtFOV8vha5C0mKEsPjBgPK
tacc4fpo93f/7OYE0vzqLw9aNyh9TWms7OmzOjcY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B8133858D39
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112; t=1678142916;
h=content-transfer-encoding:in-reply-to:from:content-language
:references:to:subject:user-agent:mime-version:date:message-id
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
bh=WU62HC6raODxt9XXwUuqysEKQ6KMXadAy10jHgwpbKQ=;
b=fJbOSIpW5ig8O3/tKV0RnBqnPGLbkJ9yg37DkbRAFXCKS4mjCS7U5JYRxdOcyK97yr
5XHpH8o7MS5zDHUm64e1IiIIAB8ylDES/G11eTYCl3tFkivRBZmDOGBpXJw4YSI8J1zC
Zq6r4YUp6aMzxX9cmLlST1D7lPqXVrlsR5b7WUHFEgAdeAX0pzrc1ge3HvOO1HYZMBKx
R4bYBtlPnoA+hDhDSVLVyQ26akyCkCDo+wJ46zq6y7YzzxnHyoHSq9WIqDS2Dt6R7y/C
xAEVXdYSeSPoyoArlQgq0x9BpygZ7PU8Wf4J7Cxr+laiwcoUeIZI6FGnp8hUNJhR29Dl
71bQ==
X-Gm-Message-State: AO0yUKUckWPB2YK45V/B5dXGalJnZ4RE36Gbl8/dvw33azj3d473v03w
qjgTqeeOPi1r1ZGtsdmafgPJQyrviBc=
X-Google-Smtp-Source: AK7set+PLrQuGKD1Y1lTOMfL6SsRfGfwibAl4TQ1qguhh92XCjK4H1NDcgeC1sb0AneJm7eUWAttLA==
X-Received: by 2002:a05:600c:3108:b0:3ea:ea6b:f9ad with SMTP id
g8-20020a05600c310800b003eaea6bf9admr10689999wmo.31.1678142915646;
Mon, 06 Mar 2023 14:48:35 -0800 (PST)
Message-ID: <8112722f-c380-bf97-bf08-22ad5b00457a@gmail.com>
Date: Mon, 6 Mar 2023 23:48:34 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.8.0
Subject: Re: python pip3 fails after first invocation
To: cygwin AT cygwin DOT com
References: <BN8PR14MB3010267CE4414CB793C6F8DAB8B69 AT BN8PR14MB3010 DOT namprd14 DOT prod DOT outlook DOT com>
In-Reply-To: <BN8PR14MB3010267CE4414CB793C6F8DAB8B69@BN8PR14MB3010.namprd14.prod.outlook.com>
X-Spam-Status: No, score=0.2 required=5.0 tests=BAYES_00, BODY_8BITS,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 326MnHT7005560

On 06.03.2023 23:35, Vinopal, John via Cygwin wrote:
> Windows 10 / Cygwin 3.4.6
> 
> Installed python 3.9: runs fine.  Ran pip3 -V: shows version.  Ran pip3 -V again: no output.
> 

I can not confirm

$ pip3 -V
pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)

$ pip3 -V
pip 21.3.1 from /usr/lib/python3.9/site-packages/pip (python 3.9)

what happens if you use pip3.9 ? (see below)

> $ pip3 list
> Package    Version
> ---------- -------
> pip        21.3.1
> setuptools 59.5.0
> WARNING: You are using pip version 21.3.1; however, version 23.0.1 is available.
> You should consider upgrading via the '/usr/bin/python3.9.exe -m pip install --upgrade pip' command.
> 
> comp AT 130 ~/Downloads
> $ pip3 list
> 
> comp AT 130 ~/Downloads
> 
> OR WITH MANUAL INSTALL SAME PROBLEM
> 
> comp AT 130 ~/Downloads
> $ /usr/bin/python3.9.exe -m pip install --upgrade pip
> Requirement already satisfied: pip in /usr/lib/python3.9/site-packages (21.3.1)
> Collecting pip
>    Downloading pip-23.0.1-py3-none-any.whl (2.1 MB)
>       |████████████████████████████████| 2.1 MB 3.3 MB/s
> Installing collected packages: pip
>    Attempting uninstall: pip
>      Found existing installation: pip 21.3.1
>      Uninstalling pip-21.3.1:
>        Successfully uninstalled pip-21.3.1
> Successfully installed pip-23.0.1
> 
> comp AT 130 ~/Downloads
> $ pip3 -V
> -bash: /usr/bin/pip3: No such file or directory

that is probably caused by the installation that overlap
previous package

pip3 is a link managed by alternatives

$ ls -l /usr/bin/pip*
lrwxrwxrwx 1 Marco Benutzer  22 Aug 22  2020 /usr/bin/pip3 -> 
/etc/alternatives/pip3
-rwxrwxr-x 1 Marco Kein     223 Jan 12  2022 /usr/bin/pip3.6
-rwxrwxr-x 1 Marco Kein     223 Jan 12  2022 /usr/bin/pip3.7
-rwxrwxr-x 1 Marco Kein     223 Jan 12  2022 /usr/bin/pip3.8
-rwxrwxr-x 1 Marco Kein     223 Jan 12  2022 /usr/bin/pip3.9


$ alternatives --display pip3
pip3 - status is auto.
  link currently points to /usr/bin/pip3.9
/usr/bin/pip3.6 - priority 36
/usr/bin/pip3.8 - priority 38
/usr/bin/pip3.7 - priority 37
/usr/bin/pip3.9 - priority 39
Current `best' version is /usr/bin/pip3.9.


> 
> John

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019