Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)


devel / comp.lang.python / Re: Using PIP in Python 3.10 on Windows 10

SubjectAuthor
o Re: Using PIP in Python 3.10 on Windows 10MRAB

1
Re: Using PIP in Python 3.10 on Windows 10

<mailman.177.1642187732.3079.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=16698&group=comp.lang.python#16698

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: pyt...@mrabarnett.plus.com (MRAB)
Newsgroups: comp.lang.python
Subject: Re: Using PIP in Python 3.10 on Windows 10
Date: Fri, 14 Jan 2022 19:12:24 +0000
Lines: 45
Message-ID: <mailman.177.1642187732.3079.python-list@python.org>
References: <CAApdmf3KYWFGuqfRjH=WxQBAtvdgKSV6zCxw=RtRaZrnDdTU6A@mail.gmail.com>
<b510ce5c-c757-10b4-a4b3-5d547cd64714@mrabarnett.plus.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 2ac4JGxiKn+U3FLgQoHF1goe3aBOVHNWNDO0eyIRYdWg==
Return-Path: <python@mrabarnett.plus.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=plus.com header.i=@plus.com header.b=kZymLI9x;
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.007
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'looks': 0.02; 'pip': 0.04;
'subject:Windows': 0.07; 'from:addr:python': 0.09; 'module:':
0.09; 'received:192.168.1.64': 0.09; 'subject:Python': 0.12;
'>>>>': 0.16; 'from:addr:mrabarnett.plus.com': 0.16;
'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16;
'received:plus.net': 0.16; 'subject:3.10': 0.16; 'subject:PIP':
0.16; 'wrote:': 0.16; 'problem': 0.16; 'python': 0.16; 'to:addr
:python-list': 0.20; 'option': 0.20; 'unable': 0.21; 'install':
0.23; 'command': 0.23; 'installed': 0.23; 'cannot': 0.25; 'seems':
0.26; 'bit': 0.27; 'environment': 0.29; 'error': 0.29; 'header
:User-Agent:1': 0.30; 'attempt': 0.31; 'dec': 0.31; 'default':
0.31; 'subject:Using': 0.32; 'received:192.168.1': 0.32; 'there':
0.33; 'windows': 0.34; 'same': 0.34; 'header:In-Reply-To:1': 0.34;
'following': 0.35; 'using': 0.37; "it's": 0.37;
'received:192.168': 0.37; 'though': 0.37; 'file': 0.38; 'handle':
0.39; 'use': 0.39; 'try': 0.40; 'received:212': 0.62; 'days':
0.62; 'below:': 0.63; 'during': 0.69; 'result,': 0.69;
'essential': 0.70; 'skip:f 30': 0.71; 'skip:f 20': 0.75; 'chose':
0.84; 'environment?': 0.84; 'location.': 0.84; 'line,': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=plus.com; s=042019;
t=1642187545; bh=d1MiC18sEcP2XtRT0+nnPzv+qxIFvmD8hN5gVnMi7N0=;
h=Date:Subject:To:References:From:In-Reply-To;
b=kZymLI9xI9UYA9pz/Kd75BegIVjBzapdQrVOH6KJMGS5cXHJEnQMF2xXraUgyOcKx
jwl2HJ21CMKBJwHHTtTReIQOV+ZbocbXASmRyNxAq8lEyIhmcc80Wmx6m1ESxOPFV+
uXQXKK+Amzzak4J7SHDpdGhgYeDmxhL1FMUTHwiGNOf2cf5UTjqqx3cB6mcfO9+zOZ
QJQq32oaKWKcIl6xu4KE9DyCEI3rznp9i5X16lINb4ksuG9m10DPh1CBHePQCmqn0I
3XzCtch/WjljsQAprs6N8uh3E+bx8JJXI6MCDgG+q/2PgZIhCbUrcpEaCCbnma06jy
XLGiS05XqHBxg==
X-Clacks-Overhead: "GNU Terry Pratchett"
X-CM-Score: 0.00
X-CNFS-Analysis: v=2.4 cv=HPCgqqhv c=1 sm=1 tr=0 ts=61e1cb19
a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17
a=IkcTkHD0fZMA:10 a=b5elf-J2fwYtZHt_id4A:9 a=QEXdDO2ut3YA:10
X-AUTH: mrabarnett@:2500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.5.0
Content-Language: en-GB
In-Reply-To: <CAApdmf3KYWFGuqfRjH=WxQBAtvdgKSV6zCxw=RtRaZrnDdTU6A@mail.gmail.com>
X-CMAE-Envelope: MS4xfK/ALTZhDv43lMXNF8nD6TCsMIjC1J89iujHy+MgIuA3kWd1LnkSMePKRhov1D8euiD0zrFGxgItbEEdzv8+wFTTmn+cETlTnQPWC0hZFBgIFyD8jcvj
ia1p101AeDgmX0wB9/zWK7bSEUWtB5jRcX2aGpMgG9k+pqVldcGIBtK8/eLvQUXvRLyc2tdAVxpu4exJhBdXqx3RgVlVqWxKt28=
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: <b510ce5c-c757-10b4-a4b3-5d547cd64714@mrabarnett.plus.com>
X-Mailman-Original-References: <CAApdmf3KYWFGuqfRjH=WxQBAtvdgKSV6zCxw=RtRaZrnDdTU6A@mail.gmail.com>
 by: MRAB - Fri, 14 Jan 2022 19:12 UTC

On 2022-01-14 17:40, Jonathan Gossage wrote:
> I have installed Python 3.10.1 on Windows 10 using the recommended Windows
> Installer. When I try to access PIP from the command line, I get the
> following result, even though Python itself is accessible.
>
>
> C:\Users\jgoss>python
> Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> quit()
>
> C:\Users\jgoss>pip install pip --upgrade
> Fatal error in launcher: Unable to create process using '"C:\Program
> Files\Python310\python.exe" "C:\Program Files\Python310\Scripts\pip.exe"
> install pip --upgrade': The system cannot find the file specified.
> During the installation, I chose to install Python in a non-default
> location and to set the Environment variables.
> The result of this attempt is shown below:
>
>
> C:\Users\jgoss>python
> Python 3.10.1 (tags/v3.10.1:2cd268a, Dec 6 2021, 19:10:37) [MSC v.1929 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
>>>> quit()
>
> C:\Users\jgoss>pip install pip --upgrade
> Fatal error in launcher: Unable to create process using '"C:\Program
> Files\Python310\python.exe" "C:\Program Files\Python310\Scripts\pip.exe"
> install pip --upgrade': The system cannot find the file specified.
>
> It looks as if the launcher is expecting to find Python installed at
> c:\Program Files\Python3.10 whereas it has actually been installed at
> D:\Users\jgoss\AppData\local\python\python3.10. It seems that the launcher
> has not been updated to the latest installation location for python and
> that it also needs to handle a non-default install location. The same
> problem occurs if I take the install option to install to the default
> location.
> Is there any workaround as PIP is essential to my environment?
>
These days it's recommended that you use the Python Launcher and the pip
module:

py -m pip install pip --upgrade

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor