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"

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 2025-03-10 20:42 +0530
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>

Show all headers | 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