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

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

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Lizna Shah <liznashah40@gmail.com>
Newsgroups: comp.lang.python
Subject: Issue with pip Installation on My Laptop
Date: Fri, 26 Jul 2024 17:10:48 +0545
Lines: 68
Message-ID: <mailman.40.1722029862.2981.python-list@python.org>
References: <CAF+12Tehfp9rLBLyxMMRVafDHJFVOrt1qp2-F=pT0dFAw=U2Cg@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de PYbwhgt6VMmuOSoYzNlnNgikfhP4zGVKKVan0hPSU5mQ==
Cancel-Lock: sha1:VK71Kn7P6/I9S6kcOitsE9W2MGw= sha256:OdPINW6wEBcERxD0z67i4LEgIhFHU2+Sa/Yua7fOWXM=
Return-Path: <liznashah40@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=MifsP6Ix;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.003
X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'pip': 0.04; 'traceback':
 0.04; '(most': 0.05; 'error:': 0.05; 'issue.': 0.05; 'laptop.':
 0.05; 'last):': 0.05; '-\xc2\xa0': 0.09; 'hello,\xc2\xa0': 0.09;
 'steps': 0.11; '_main': 0.16; '`python': 0.16; 'batch': 0.16;
 'init': 0.16; 'process:': 0.16; 'provide.': 0.16;
 'subject:Installation': 0.16; 'subject:Issue': 0.16;
 'subject:pip': 0.16; '\xc2\xa0here': 0.16; 'problem': 0.16;
 'python': 0.16; 'guidance': 0.19; 'skip:_ 10': 0.22; 'install':
 0.23; 'command': 0.23; 'installed': 0.23; 'laptop': 0.23; 'run':
 0.23; 'tried': 0.26; 'suggest': 0.28; 'program': 0.31; 'official':
 0.32; 'grateful': 0.32; 'resolve': 0.32; 'message-
 id:@mail.gmail.com': 0.32; 'but': 0.32; 'script': 0.33; 'windows':
 0.34; 'able': 0.34; 'received:google.com': 0.34; 'running': 0.34;
 'following': 0.35; 'from:addr:gmail.com': 0.35; 'using': 0.37;
 'skip:_ 30': 0.37; 'file': 0.38; 'could': 0.38; 'use': 0.39;
 'hello,': 0.40; 'try': 0.40; 'best': 0.61; 'here': 0.62;
 'internal': 0.63; 'complete': 0.64; 'information:': 0.64;
 'verified': 0.64; 'website,': 0.68; 'you.': 0.71; 'skip:* 10':
 0.71; 'recognized': 0.75; 'potentially': 0.76; 'virus': 0.84;
 'hp,': 0.84; 'subject:Laptop': 0.84; 'unwanted': 0.84;
 'you.\xc2\xa0': 0.84; 'to:addr:none': 0.99
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1721993159; x=1722597959; darn=python.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=xfzZ8G+fIPIu5QO2/vcq96VDoQUO+4KckpZPwoT9NNg=;
 b=MifsP6Ix7MdcwQk4UlmORHP4Tr4mCIBy+MKauQQ7hn+b7yjCLA76yEUbll2qeGWg0c
 CPWdNdDYH721vjrhGHqaWl7kMPR5VdtGw071X87WHBHouY0E3Ppf9Yw3taLEn4sQunWJ
 FP2AYfMymcXmt3xHdqlOeGExBh9aama92zWUmrx0bEr8TKhPKbviE+3Lytg/UaB/xZ40
 kasNJ/7hvqnXUa7YFsLhok/0LlQvz0tARn5TxWLKJg4Nzc6CrVhomquB8UENMo9boPuX
 UeTd1SaMA3tc81gkFyJL+DGJbe99/EK298nbiQlfGGoWz2zQkAELXasxj5kjXn2xAsc0
 414A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1721993159; x=1722597959;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=xfzZ8G+fIPIu5QO2/vcq96VDoQUO+4KckpZPwoT9NNg=;
 b=UHtSKbhLrJgrHBBCZgCyUmqpbB0QJMiG+qO4Ia+I7K7JVDBAM8iCLZlbVrPL2drljc
 RxJpqruZ3MfWBi/pk0VDBGLiw4Kf12y7f03+UB7FrD12LEZ05dozzW7MpNdpDAPgYcvW
 YgcGkqX4gCMVAF8HWw339n3Xo6QTF0FnnPNajAD7tcNf862ZRS+iPPDmP2aD8PKe58fO
 nqPr/AiT0IPv7KO3WD9Hft+uJqvIGXs1ayM17YOjvOpBU5fPp5AHIlc4A6Wfk9wQSfRZ
 DnRSS09sPzKft3J4G8/GAbVjjlp7z0UXHV2odklaAD7OoBUy0e4xcK/SY+hIZWRd5WMT
 uFaA==
X-Forwarded-Encrypted: i=1;
 AJvYcCU4p4650OjXJu9u1vQbX1P48sdEtghoMy84PuBn705gP/UbB3hD6udl4jvF0zzqF5d+ydPQleD0FVWjoga6JxoYm5hDWDCg
X-Gm-Message-State: AOJu0YxjBCbzCjiOI8meXA/5znbpIPzg/S1BmX/s+cg+w7RrC7JNxOdl
 uDLiyES7gKTqHjp3uiu7U10SmSSd6M1UmnOiYbQQQzdV7eu4TaQvictfV+kGtUv+OUDj2n+5icm
 38oFLc0JCMviGpc63YLkDQbwSndum1Dft
X-Google-Smtp-Source: AGHT+IGnfqj8vov1iStZXceKrlH8HXJXclv7+amHm6XRasWc9LORDr4OYw2CWSbR7nIYW6XfiaScLEmNZYL30oLgrOQ=
X-Received: by 2002:a17:90b:4a03:b0:2bf:de8b:bef5 with SMTP id
 98e67ed59e1d1-2cf2e9f7ce1mr5645616a91.12.1721993159295; Fri, 26 Jul 2024
 04:25:59 -0700 (PDT)
X-Mailman-Approved-At: Fri, 26 Jul 2024 17:37:41 -0400
X-Content-Filtered-By: Mailman/MimeDel 2.1.39
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: <CAF+12Tehfp9rLBLyxMMRVafDHJFVOrt1qp2-F=pT0dFAw=U2Cg@mail.gmail.com>
Bytes: 7648

  Hello,

I am experiencing a problem with pip not being installed on my laptop and
would appreciate any assistance you can provide.

 Here are the details of my issue: -

Operating System: Windows
Python Version: Python 3.10.10
Steps I have already taken to try and resolve the issue:
1. Verified that Python is installed by running `python --version` (output:
[Python 3.10.10]).
2. Tried to install pip using the command `python -m ensurepip` and
received the following error:
Traceback (most recent call last):
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in
_run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in
_run_code
    exec(code, run_globals)
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\ensurepip\__main__.py",
line 5, in <module>
    sys.exit(ensurepip._main())
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\ensurepip\__init__.py",
line 287, in _main
    return _bootstrap(
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\ensurepip\__init__.py",
line 203, in _bootstrap
    return _run_pip([*args, *_PACKAGE_NAMES], additional_paths)
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\ensurepip\__init__.py",
line 104, in _run_pip
    return subprocess.run(cmd, check=True).returncode
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 503,
in run
    with Popen(*popenargs, **kwargs) as process:
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971,
in init
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "C:\Users\LIZNA
SHAH\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1440,
in _execute_child
    hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
OSError: [WinError 225] Operation did not complete successfully because the
file contains a virus or potentially unwanted software

3. Attempted to use `get-pip.py` script from the official website, but
encountered: ['get-pip.py' is not recognized as an internal or external
command,
operable program or batch file.].

Additional information: - I was able to use pip successfully with previous
versions of Python on this laptop.

I would be grateful for any guidance or troubleshooting steps you could
suggest to resolve this issue. Thank you.

Best regards,
Lizna Shah
Nepal