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

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

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Mats Wichmann <mats@wichmann.us>
Newsgroups: comp.lang.python
Subject: Re: Issue with pip Installation on My Laptop
Date: Sat, 27 Jul 2024 14:58:08 -0600
Lines: 32
Message-ID: <mailman.42.1722113902.2981.python-list@python.org>
References: <CAF+12Tehfp9rLBLyxMMRVafDHJFVOrt1qp2-F=pT0dFAw=U2Cg@mail.gmail.com>
 <199a0fc1-b586-4988-8964-35d5c8a49b2a@tompassin.net>
 <060e6f6f-6cd4-4c0a-809c-a3af949083ab@wichmann.us>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: quoted-printable
X-Trace: news.uni-berlin.de ypSHmsOERhi86CUqtC/IrwMOriFfWLLGEXe2fu3ci55A==
Cancel-Lock: sha1:QPsGpM1LrfBxtb0EmdrYmN2/5iM= sha256:1hbKJ0EtWTXscQPHi4ZalEDy3MO+E4yGRttUyVj8wj8=
Return-Path: <mats@wichmann.us>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
 reason="1024-bit key; unprotected key"
 header.d=pobox.com header.i=@pobox.com header.b=vmYggaru;
 dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.011
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'pip': 0.04; 'settings.':
 0.05; 'apparently': 0.09; 'installer': 0.09; 'thinks': 0.09;
 'received:173': 0.13; 'executable': 0.16; 'malware.': 0.16;
 'paths': 0.16; 'pip,': 0.16; 'subject:Installation': 0.16;
 'subject:Issue': 0.16; 'subject:pip': 0.16; 'wrote:': 0.16;
 'problem': 0.16; 'python': 0.16; "can't": 0.17; 'to:addr:python-
 list': 0.20; 'install': 0.23; 'goes': 0.28; 'error': 0.29; 'header
 :User-Agent:1': 0.30; 'am,': 0.31; 'module': 0.31; 'fine.': 0.32;
 'python-list': 0.32; 'but': 0.32; 'path': 0.33; 'windows': 0.34;
 'same': 0.34; 'header:In-Reply-To:1': 0.34; 'directory': 0.37;
 'received:192.168': 0.37; 'file': 0.38; 'use': 0.39; 'to.': 0.39;
 'something': 0.40; 'should': 0.40; "there's": 0.61; 'complete':
 0.64; 'it:': 0.69; 'potentially': 0.76; 'extra': 0.84; 'virus':
 0.84; 'offer,': 0.84; 'subject:Laptop': 0.84; 'unwanted': 0.84
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id
 :date:mime-version:subject:to:references:from:in-reply-to
 :content-type:content-transfer-encoding; s=sasl; bh=lLgibQEaoFLM
 DIPRynbTMIcKvp+AMcFmbXQ0TMam9as=; b=vmYggaruAYB9z3E1LWyPQ/tup9yn
 SuTip1tX5SFAzjw1aXYg8Xkf0814hceI5+xe4wiirmDaczl3GdzUNOzXmiycdZRa
 WfcHuThYswBTNI0kM/WJ2GIN9arBr3gVAsU+RzHl65IlOkldYuoaDiKzlEza0vOz
 ORtbUkncwWKT8j8=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=wichmann.us;
 h=message-id:date:mime-version:subject:to:references:from:in-reply-to:content-type:content-transfer-encoding;
 s=2018-07.pbsmtp; bh=DM9hKoIlISnfGm/7JRUA8ADjdglbwhmhxcuxG402o5g=;
 b=Br8N3jvKdRSkwnaUUfcJVdcAeO/dZkVmfHrD0RMQhNiji/W6LJ58Jg8OIh9dGEkfUBRCfmzf0gdFvR3Vc2PHnLallVWYsjgfo/ewZAhj3wuyqw+Hl0vMRzZl7eYG1lvPVDg14W/bd8I1bfcs4zwFwcDeYXKJ7c2kvZQZYGDv/ck=
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=mats@wichmann.us; keydata=
 xsDiBD9xp6oRBAC1vd3YI8Gcr1CxpV1gldNQu0uQsNaICDk+Ai3+R163s/P83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JGBBgRAgAGBQI/mKzwAAoJEMAxoJBz2FTG6VEAoKDYHfDp5Q3q
 PuPvPahCE9HsXMgAAJ9INTqcLSJrOfyJ8q95nBO1T26H2Q==
In-Reply-To: <199a0fc1-b586-4988-8964-35d5c8a49b2a@tompassin.net>
X-Pobox-Relay-ID: EE635C5A-4C5A-11EF-8643-92D9AF168FA5-81526775!pb-smtp20.pobox.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: <060e6f6f-6cd4-4c0a-809c-a3af949083ab@wichmann.us>
X-Mailman-Original-References: <CAF+12Tehfp9rLBLyxMMRVafDHJFVOrt1qp2-F=pT0dFAw=U2Cg@mail.gmail.com>
 <199a0fc1-b586-4988-8964-35d5c8a49b2a@tompassin.net>
Bytes: 6423

On 7/26/24 16:28, Thomas Passin via Python-list wrote:
> On 7/26/2024 7:25 AM, Lizna Shah via Python-list wrote:
>> OSError: [WinError 225] Operation did not complete successfully=20
>> because the
>> file contains a virus or potentially unwanted software
>=20
> That part of the error message tells you the story.=C2=A0 Windows think=
s some=20
> file in the install has been corrupted with malware.
>=20


The Windows installer comes with pip, there's no need to do an extra=20
install to get it:

python -m pip --version

If you can't find the pip *command*, that's a problem with yout PATH=20
settings.  The Python installer offers to add the location of Python=20
itself to PATH, and you've apparently taken it up on that offer, but=20
that's not the same directory that pip goes to.  Just use it as a module=20
and you should be fine.


=3D=3D=3D

The typical paths will be something like

C:\Users\you\AppData\Local\Programs\Python\Python310   # python executabl=
e
C:\Users\you\AppData\Local\Programs\Python\Python310\Scripts   # pip=20
"executable"