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


Groups > comp.lang.python > #197376

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 Mats Wichmann <mats@wichmann.us>
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 12:23 -0600
Message-ID <mailman.137.1741631020.2912.python-list@python.org> (permalink)
References (2 earlier) <EOlzP.92237$i41.91623@fx06.ams4> <00f632bb-3c0e-4a9e-90ce-23f96cbadcc1@tompassin.net> <CAD59pYtvJC0BrhMT+h_ViQ9KeeA_SQnhHD5uL3xLf67AtR6e1g@mail.gmail.com> <CAD59pYsZZrxu-TRSBUT0jBCVm1Ri24hnO-D7Q-DkdLKCjczOxw@mail.gmail.com> <3195bd9e-bf26-49a8-8115-188377e83d74@wichmann.us>

Show all headers | View raw


On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
> Hi  Matt,
> 
> I pointed out onething that related to the errors, what I pointed out is I
> just gone through the system 32 path in c drive and I found the python
> executive and other python files indicating 0 kb, and I deleted these exe,
> since these are seem to be corrupted to me, then after I tried running
> python and python --version with admin and all those executables, anyway it
> works really well.
> 
> (Finally The all issues stand resolved.)
> 
> Thank you for support matt and team,
> 
> I'm really thankful for your attention to this matter.
The "empty" ones are part of the app execution alias system in Windows. 
If you do nothing at all, these at the things that offer to launch the 
Microsoft Store you can install Python from there.  They're not actual 
files, they are NTFS reparse points, and if you need to remove them you 
should use the fsutil utility.

Yes, this is pretty obscure.

Back to comp.lang.python | Previous | NextPrevious 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