Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197373

Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Praveen Kumar <thitanpraveenkumar143@gmail.com>
Newsgroups comp.lang.python
Subject Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"
Date Mon, 10 Mar 2025 20:42:56 +0530
Lines 46
Message-ID <mailman.135.1741619592.2912.python-list@python.org> (permalink)
References <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com> <mailman.126.1741471060.2912.python-list@python.org> <EOlzP.92237$i41.91623@fx06.ams4> <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> <CAD59pYtvJC0BrhMT+h_ViQ9KeeA_SQnhHD5uL3xLf67AtR6e1g@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
X-Trace news.uni-berlin.de 7LbPEZTMb+LOyDu+5bbODwxn+QM+tAdb9VjnsHHtoL9A==
Cancel-Lock sha1:oNi07TVZKul0MIQ1WySlmFgR08I= sha256:16XaDFIfH4W6Z6siYhKfhqm2PRVovhcGllNnzmboVbU=
Return-Path <thitanpraveenkumar143@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=K4Kr6jxn; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'pip': 0.04; 'absolute': 0.05; 'mar': 0.07; 'subject:Windows': 0.07; 'subject:error': 0.07; 'subject:when': 0.07; 'that?': 0.07; 'url:mailman': 0.09; '"python"': 0.09; 'cc:addr:python-list': 0.09; 'email addr:python.org>': 0.09; 'subject:run': 0.09; 'subject:version': 0.09; 'steps': 0.11; 'subject:Python': 0.12; '&gt;': 0.14; 'cc:no real name:2**0': 0.14; 'problem.': 0.15; 'url:listinfo': 0.15; '2025': 0.16; 'found.': 0.16; 'invoke': 0.16; 'skip:" 60': 0.16; 'subject:: "': 0.16; 'subject:app': 0.16; 'subject:running': 0.16; 'wrote:': 0.16; 'python': 0.16; 'pm,': 0.19; 'cc:addr:python.org': 0.20; 'url-ip:188.166.95.178/32': 0.20; 'url-ip:188.166.95/24': 0.20; 'first,': 0.22; 'maybe': 0.22; 'sat,': 0.22; 'version': 0.23; 'install': 0.23; 'run': 0.23; 'url-ip:188.166/16': 0.24; 'idea': 0.24; 'python,': 0.25; 'cc:2**0': 0.25; 'available,': 0.26; 'normally': 0.26; 'email addr:python.org&gt;': 0.28; 'goes': 0.28; 'message-id:@mail.gmail.com': 0.31; 'kumar': 0.32; 'python- list': 0.32; 'subject:"': 0.32; 'but': 0.32; 'there': 0.33; 'path': 0.33; 'header:In-Reply-To:1': 0.34; 'received:google.com': 0.34; 'from:addr:gmail.com': 0.34; 'computer.': 0.35; 'runs': 0.35; 'yes,': 0.35; 'mon,': 0.36; 'using': 0.37; "it's": 0.37; 'url-ip:151.101.0.223/32': 0.38; 'url-ip:151.101.128.223/32': 0.38; 'url-ip:151.101.192.223/32': 0.38; 'url- ip:151.101.64.223/32': 0.38; 'use': 0.39; "that's": 0.39; 'added': 0.39; 'try': 0.40; 'should': 0.40; 'shall': 0.61; 'python.org': 0.62; 'your': 0.64; 'upgrade': 0.64; 'right': 0.68; 'subjectcharset:utf-8': 0.80; 'subject:your': 0.83; 'device,': 0.84; 'email name:&lt;python-list': 0.84; 'subject:\xe2\x80\x99': 0.91; 'subject:This': 0.93
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741619589; x=1742224389; darn=python.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SA4u/WIZNz7M9bxoW70WfVHenFsmyy9X5O5hQzIXn3M=; b=K4Kr6jxnE0ed5Wrv+YxJfZA3rPYsrWwh4DQ5VrzQ4NRu5Pvi8DYRPhOfsYEUM7M68G E5XoG+hdmMKCxsRuLHRKCe8CRK/Q1TcfC9zB7zjQYrx/lerDWJUhRYk/ZNzHOHV8x7RU yTAPISqt7YsEIfmVpHzaD4MvgwtL3LEJDn6KJgti+meHBUcH5rt2baOCKdLayTe6JT7r WD93dVTF7shDwOayYelYAb+CSNsVjexOGC0XeXaBb9RAg0MK3teSAtGZXO/3dZKXJ2rd hXh54710TSkH3fPmHKCIlWUppqXsPgzMwIKZ/YmzM+m/QxaZfLgpff3knq/jB/54HnAG 9oHA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741619589; x=1742224389; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SA4u/WIZNz7M9bxoW70WfVHenFsmyy9X5O5hQzIXn3M=; b=EjIlNjQadpAekzCBZq389GIXXfnCQf76hOgw3l2KTOmVk6rXEQm4WDdKWic4SZ3V0s FUzkoen8hiJNcztj3SID1KGgMeXwgi+2Yy44FjfizVIl4bfRyDWlq66YwxgIouLrdmsS yAKgiv8zcgRdj16vEg+ilCwq0UHRsY1GqRCsob7pz4Khm1KOdrq/Rixh05MgpKdkHGMh 56pSQ3MalnfWtQVB3fTtL3wGAtQIOT+DCSteuM7GmjdqjFhYn5rwZOwzV+OJOT8pyqFw tvNUZllyALWPC+sg2Bqgq0tkH7WvRFn1YR9z+UzlBtEC6bua/evGTOc5Y80Eu63/f+nv w90Q==
X-Gm-Message-State AOJu0Yy/jCVhVOCruk2MkreQG+O6myhNW+LTlnxbPqn6uQe/AWb33zhE SHf8fRKkashFIHjp6rhKvmAWqu9s/urnjb5RtYuHwu2whn3zr3BXgfrSbUbA/O4VR+SJhwWoosG wEhA19gp6sWMiBUcYm/GyWLxR1JfLGA==
X-Gm-Gg ASbGncvPpevmX7vgQuAQENm9rZ6CPLp6OgVcCGRnH0g4bBEiyCxlgSqx29ZGrK20Xg/ Z9662sZLAXbz66K2j+mAevDXHfF6d7fxU4NVC6fcVSwmYDCaK35UDEJLkdAMLz0PHsbcDgX2s7P IcQ4PiTzH3VkXfqVMdkVlN3KwoTVw=
X-Google-Smtp-Source AGHT+IFciuV21XmssbnTkExbyqpbflcGXBd8BoBjZHt+AbDPR/w+fDv6zfl9i4d8FXHRTKgXjE6EQ2b8mRM659N3o+E=
X-Received by 2002:a17:90b:3887:b0:2ee:d193:f3d5 with SMTP id 98e67ed59e1d1-2ff7ce59637mr23119341a91.7.1741619588501; Mon, 10 Mar 2025 08:13:08 -0700 (PDT)
In-Reply-To <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net>
X-Gm-Features AQ5f1JrRnAejHcS3aKt22LZNkH9Dx63yCzSzBT4mmaHDfZ0UmAtK9ojvP5MAYuw
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 <CAD59pYtvJC0BrhMT+h_ViQ9KeeA_SQnhHD5uL3xLf67AtR6e1g@mail.gmail.com>
X-Mailman-Original-References <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com> <mailman.126.1741471060.2912.python-list@python.org> <EOlzP.92237$i41.91623@fx06.ams4> <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net>
Xref csiph.com comp.lang.python:197373

Show key headers only | View raw


Yes,

I have 24.3.1 version of pip in my win 11 device, there is a new version of
pip available, 25.0.1

Shall I upgrade that?

Kind regards,
Praveen

On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, <
python-list@python.org> wrote:

> On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
> > On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:
> >
> >> "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
> >
> > Is that an approved location for executables?
>
> Yes, that's where a python.org install normally goes. If you are
> changing the system paths, that location is the one to use. But if
> that's the location that the system links Python.File to, it should
> launch without a problem. Maybe you should remove the path steps you
> added previously and see if that clears up the problem.
>
> First, though, try to run python using the absolute path you have just
> found.
>
> BTW, it's always a good idea to run pip using the python install that
> you will be running.  So if "python" runs the right version, then invoke
> pip this way:
>
> python -m pip
>
> If you use the launcher, then:
>
> py -m pip
>
> This will make sure you use the version of pip that goes with your
> version of python, just in case there are other versions somewhere on
> the computer.
>
> --
> https://mail.python.org/mailman/listinfo/python-list
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

"Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Praveen Kumar <thitanpraveenkumar143@gmail.com> - 2025-03-08 15:59 +0530
  Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Gilmeh Serda <gilmeh.serda@nothing.here.invalid> - 2025-03-09 19:16 +0000
    Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Thomas Passin <list1@tompassin.net> - 2025-03-09 17:14 -0400
      Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Gilmeh Serda <gilmeh.serda@nothing.here.invalid> - 2025-03-09 21:43 +0000
    Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Praveen Kumar <thitanpraveenkumar143@gmail.com> - 2025-03-10 20:31 +0530
    Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Praveen Kumar <thitanpraveenkumar143@gmail.com> - 2025-03-10 20:42 +0530
    Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Praveen Kumar <thitanpraveenkumar143@gmail.com> - 2025-03-10 21:38 +0530
      Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Chris Townley <news@cct-net.co.uk> - 2025-03-10 16:56 +0000
    Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11" Mats Wichmann <mats@wichmann.us> - 2025-03-10 12:23 -0600

csiph-web