Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Delta: We never make the same mistake three times. -- David Letterman


devel / comp.lang.python / Re: struggle to upgrade pip on visual studio code

SubjectAuthor
o Re: struggle to upgrade pip on visual studio codeRichard Damon

1
Re: struggle to upgrade pip on visual studio code

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

  copy mid

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

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: Rich...@Damon-Family.org (Richard Damon)
Newsgroups: comp.lang.python
Subject: Re: struggle to upgrade pip on visual studio code
Date: Fri, 22 Apr 2022 06:50:42 -0400
Lines: 40
Sender: Richard Damon <richard.damon@gmail.com>
Message-ID: <mailman.191.1650624647.20749.python-list@python.org>
References: <CAD9v3s=Ym5_AWYK7dSTU5_QCvp0B=mygPh8z63af_2VU42YALQ@mail.gmail.com>
<4b7a96c7-339c-e1fa-25ae-2c4201a1e83e@Damon-Family.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 9IHHBp2VVCOLWozQ0QKeTwGMv3JQ85X3EGGjgaeaheXQ==
Return-Path: <richard.damon@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=H4G5/+OK;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.008
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'this:': 0.03; 'pip': 0.04;
'damon': 0.09; 'included,': 0.09; 'upgrading': 0.09; '3.10': 0.16;
'command.': 0.16; 'from:addr:damon-family.org': 0.16;
'from:addr:richard': 0.16; 'from:name:richard damon': 0.16;
'message-id:@Damon-Family.org': 0.16; 'received:209.85.222.174':
0.16; 'received:mail-qk1-f174.google.com': 0.16; 'subject:code':
0.16; 'subject:pip': 0.16; 'subject:upgrade': 0.16; 'warning:':
0.16; 'wrote:': 0.16; 'python': 0.16; 'says': 0.17; 'to:addr
:python-list': 0.20; 'version': 0.23; 'install': 0.23; 'command':
0.23; 'installed': 0.23; '(and': 0.25; 'saying': 0.25; 'do?':
0.26; 'header:User-Agent:1': 0.30; 'whole': 0.30; 'am,': 0.31;
'program': 0.31; 'but': 0.32; 'path': 0.33; 'script': 0.33;
'able': 0.34; 'header:In-Reply-To:1': 0.34; 'received:google.com':
0.34; 'using': 0.37; 'received:209.85': 0.37; 'received:192.168':
0.37; 'put': 0.38; 'received:209': 0.39; 'received:209.85.222':
0.39; 'program.': 0.40; 'hello,': 0.40; 'try': 0.40; 'should':
0.40; 'skip:o 10': 0.61; 'verify': 0.64; 'richard': 0.64;
'upgrade': 0.64; 'your': 0.64; 'now,': 0.67; 'name,': 0.75;
'recognized': 0.75; 'skip:f 20': 0.75; 'quotes,': 0.84;
'sender:addr:gmail.com': 0.84; 'spelling': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=sender:message-id:date:mime-version:user-agent:subject
:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=xuBclP3zzib9FzEkQoBg1AfTCwMYEPqOWHUhTj3EGMs=;
b=H4G5/+OKLmMrd+VjtlkuGGfQ6+/BoYaffb0lFEC58WfkMrHT2gzmSYPla0zLRYWFNI
ZYkMTcL+rWEZgL9QUZIRv3qsTk0XECFIdO8y2DgTjwwMlUdTq0iO6UABG4KYah4uGpBe
2qi1rr7mF+GNSTEKB/VG7fshiuFve6zZxOuB25qdKpE/eBqkTO1xD1KZt12zv5zlRjlG
X5Vyw8ibGDBY8ThwCRNSA8fHYD/Pebwq/5rHsQ2oY26b1TE1xl1RiSoSSRyKi78pf8++
AVVuuRc/gMzikmYmq3SYKU5VUugzSSDT4Q+UMrhPTP16ysmQn6Wy3r43ZhRyyCsVSd9T
hbcw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:sender:message-id:date:mime-version:user-agent
:subject:content-language:to:references:from:in-reply-to
:content-transfer-encoding;
bh=xuBclP3zzib9FzEkQoBg1AfTCwMYEPqOWHUhTj3EGMs=;
b=2sQVcSjoyCi9pjqHIjPby8vrydFKT+pBV7RzQ2vkh6ENw7EnDurqLPbTcS9qiSXmz3
5MCfj0n6D4ym1qzBVhjF8FJUcHVIdG7AOHQyd5QzgT+QEZ0BH2ceSDPDhNBxauj4CFYk
QtdDVWpQypOgV5uCKUIS1ZkvlrQn9XmuFGS5Wc6se6FXC1ZAxE1heSeYUCmJm912a3mF
1yK7mJMRqoE4Kl/M+7h0X+BHn/pVAF2VVMxOURw29XWyNwY+dRHRLPIbIkp4fnIBrlnW
0YvCLmIhk96e/SJeU+w6+DDD4T2bwCeZtx5ezvW8QtfxQP7XgDv+ch03XYhRm/a61bHb
W38w==
X-Gm-Message-State: AOAM5322cWEfAYT0p6ktiUONToV5mqfY1J8ZbHTMmexPXhULuSh/CFNA
mpC3RLf8hDgU/BnX9vLJdRbnM6f9Lc1blr+wzWo=
X-Google-Smtp-Source: ABdhPJwYtQq9i3J23jze7uY3z+czgDtnJBhdosdiaZ6Q1XMdfjqQ7Lodg/XL0/GgIgpBuQfIFx+65w==
X-Received: by 2002:a05:620a:40cb:b0:69e:606e:cc64 with SMTP id
g11-20020a05620a40cb00b0069e606ecc64mr2164593qko.20.1650624644966;
Fri, 22 Apr 2022 03:50:44 -0700 (PDT)
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0)
Gecko/20100101 Thunderbird/91.8.1
Content-Language: en-US
In-Reply-To: <CAD9v3s=Ym5_AWYK7dSTU5_QCvp0B=mygPh8z63af_2VU42YALQ@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: <4b7a96c7-339c-e1fa-25ae-2c4201a1e83e@Damon-Family.org>
X-Mailman-Original-References: <CAD9v3s=Ym5_AWYK7dSTU5_QCvp0B=mygPh8z63af_2VU42YALQ@mail.gmail.com>
 by: Richard Damon - Fri, 22 Apr 2022 10:50 UTC

On 4/22/22 6:11 AM, Tola Oj wrote:
> hello, i successfully installed openpyxl but it is saying this about my pip:
>
> WARNING: You are using pip version 22.0.2; however, version 22.0.4 is
> available.You should consider upgrading via the 'C:\Program
> Files\Python310\python.exe -m pip install --upgrade pip' command.
>
> And then when I try to upgrade using 'C:\Program Files\Python310\python.exe
> -m pip install --upgrade pip command it says this:
>
> C:\Program : The term 'C:\Program' is not recognized as the name of a
>
> cmdlet, function, script file, or operable program. Check the spelling of
>
> the name, or if a path was included, verify that the path is correct and
>
> try again.
> At line:1 char:1
> + C:\Program Files\Python310\python.exe -m pip install --upgrade pip+
> ~~~~~~~~~~
> + CategoryInfo : ObjectNotFound: (C:\Program:String) [], Comma
>
> ndNotFoundException
> + FullyQualifiedErrorId : CommandNotFoundException
>
> please what do I do?

When a program name/path includes spaces, you need to put the whole name
in quotes, like

"C:\Program Files\Python310\python.exe" -m pip install --upgrade

Now, if python is on your path (and 3.10 is the first python found), you
should be able to simpify that to

python -m pip install --upgrade

--
Richard Damon

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor