From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 1B8133858D39 for ; Mon, 6 Mar 2023 22:48:37 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1B8133858D39 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x32a.google.com with SMTP id fm20-20020a05600c0c1400b003ead37e6588so9295654wmb.5 for ; Mon, 06 Mar 2023 14:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678142916; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id:from :to:cc:subject:date:message-id:reply-to; bh=WU62HC6raODxt9XXwUuqysEKQ6KMXadAy10jHgwpbKQ=; b=Q28p9/+uqTY1JVp5F28gIQLbj6FtlwhV/s7kO3PeJrgUYgxOI3NE1bRnY+P8UYvH50 nNB5N06Ii0jsMrNT9Ad7Mt/fuNjFN5Aq53XRLQcGwK3hEzxWRYh2+XhSMDBQQneHk8fp MLkS/GTNE3lI+FEQeisa/zGZ3K2a8cP2L5etWnRGu40Y/vBI6i9MqA/dAf5eiArDIKxd D9j72mzi9ZHqRJC/+ZCN4eEAhYEu1SI6jP3x2ApqkGObU2/KlGcJXDT8LyCwt9SZPHt2 3FDcX28qJJYdJ8sR7Su7EfOwo9l0QwoXr5WNhlBjgWQLg2mg/A70SUDlT3zOqzztPQ4z cmPw== 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) Received: from ?IPV6:2001:a61:12a9:1801:4116:8d32:4e73:815e? ([2001:a61:12a9:1801:4116:8d32:4e73:815e]) by smtp.gmail.com with ESMTPSA id t14-20020a05600c450e00b003e1fee8baacsm15847718wmo.25.2023.03.06.14.48.35 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); 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@cygwin.com References: Content-Language: it From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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@130 ~/Downloads > $ pip3 list > > comp@130 ~/Downloads > > OR WITH MANUAL INSTALL SAME PROBLEM > > comp@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@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