Deutsch English Français Italiano |
<mailman.43.1722122178.2981.python-list@python.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail From: MRAB <python@mrabarnett.plus.com> Newsgroups: comp.lang.python Subject: Re: Issue with pip Installation on My Laptop Date: Sun, 28 Jul 2024 00:13:10 +0100 Lines: 36 Message-ID: <mailman.43.1722122178.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> <aa4ae18a-cc5b-4c6e-8909-77224f6126c0@mrabarnett.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: news.uni-berlin.de eTG+dgzhOJuF+gjTZs5x6g8kdm0CTqfjGxci4HFlUBWQ== Cancel-Lock: sha1:AYsHL75aUCRHcQ6sdw7bOILpu+U= sha256:PUMCGsmLKrJmjRQ+oqouNvgogHvEXZwB3F/TU9+Wp/I= 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=fJ4cWkkD; dkim-adsp=none (unprotected policy); dkim-atps=neutral X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; 'settings.': 0.05; 'apparently': 0.09; 'from:addr:python': 0.09; 'installer': 0.09; 'received:192.168.1.64': 0.09; 'thinks': 0.09; 'executable': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:name:mrab': 0.16; 'malware.': 0.16; 'mats': 0.16; 'message- id:@mrabarnett.plus.com': 0.16; 'paths': 0.16; 'pip,': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'received:plus.net': 0.16; 'subject:Installation': 0.16; 'subject:Issue': 0.16; 'subject:pip': 0.16; 'wichmann': 0.16; 'wrote:': 0.16; 'problem': 0.16; 'python': 0.16; "can't": 0.17; 'to:addr:python-list': 0.20; 'install': 0.23; '>>>': 0.28; '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; 'received:192.168.1': 0.32; 'but': 0.32; 'path': 0.33; 'windows': 0.34; 'same': 0.34; 'header:In-Reply-To:1': 0.34; "it's": 0.37; '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/relaxed; d=plus.com; s=042019; t=1722121990; bh=DWpuwJxYpgECGsBIN4Uct0A0QzP31R3ou+gzODVPgjo=; h=Date:Subject:To:References:From:In-Reply-To; b=fJ4cWkkDtiS8gsfhSifllIxBvS0WTJNaXlXkG0tcGCJP82hIxCU7JaAWZCuH1KtUC SBnnvblGP8ZQqZWaJq1u/Cy4oXqiwHKambT98oQy54mIScJjq3Bcctn+/x1/yfqjuC 83JAC/JHIAxyijv0yn4mQpd07Arnyb1VN60clLPMZVWY35RnIjB1uqb7IfdT+Ha+Mg h+t9P8zdAEn/uhjXnIDFs5P9UFTKofVOx3b7ipReebNDRrQatOdf8rzrRa9faNA+Pd mHdyazVXejJroAUEfQFcNnwz6YzB2cy8dtfg4bXsGLGFW5/WNkuRPbr6tIIoC3bMv2 yzL3PvTNhEr9A== X-Clacks-Overhead: "GNU Terry Pratchett" X-CM-Score: 0.00 X-CNFS-Analysis: v=2.4 cv=f5frB/yM c=1 sm=1 tr=0 ts=66a57f06 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=IkcTkHD0fZMA:10 a=ORVdao3Q-RQe4Ws-KkQA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 X-AUTH: mrabarnett@:2500 User-Agent: Mozilla Thunderbird Content-Language: en-GB In-Reply-To: <060e6f6f-6cd4-4c0a-809c-a3af949083ab@wichmann.us> X-CMAE-Envelope: MS4xfJJkkNmJpHmm9aCGROD4tczLraK81mmhcnbfwWLmO2wen03CSbOlY+5dcL3uihMPS3dDpde9oD8Xn81UD0xoX+32q8bWAUgy8lHJqNszXIW+dixt3QCw h4L7Z4Ef9/rfBuHXG/c4pjn63cW8lKFw+2wXBd+lIFoGpTP6n2EZ4k9Vas3Zm43epNrUXiSpLbGv/w9ckph5aZsi1q4s/48/3i4= 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: <aa4ae18a-cc5b-4c6e-8909-77224f6126c0@mrabarnett.plus.com> X-Mailman-Original-References: <CAF+12Tehfp9rLBLyxMMRVafDHJFVOrt1qp2-F=pT0dFAw=U2Cg@mail.gmail.com> <199a0fc1-b586-4988-8964-35d5c8a49b2a@tompassin.net> <060e6f6f-6cd4-4c0a-809c-a3af949083ab@wichmann.us> Bytes: 5904 On 2024-07-27 21:58, Mats Wichmann via Python-list wrote: > 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 >>> because the >>> file contains a virus or potentially unwanted software >> >> That part of the error message tells you the story. Windows thinks some >> file in the install has been corrupted with malware. >> > > > The Windows installer comes with pip, there's no need to do an extra > install to get it: > > python -m pip --version > On Windows it's recommended that you use the Python Launcher 'py': py -m pip --version > If you can't find the pip *command*, that's a problem with yout PATH > settings. The Python installer offers to add the location of Python > itself to PATH, and you've apparently taken it up on that offer, but > that's not the same directory that pip goes to. Just use it as a module > and you should be fine. > > > === > > The typical paths will be something like > > C:\Users\you\AppData\Local\Programs\Python\Python310 # python executable > C:\Users\you\AppData\Local\Programs\Python\Python310\Scripts # pip > "executable"