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


Groups > comp.lang.python > #197360

"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 "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"
Date Sat, 8 Mar 2025 15:59:51 +0530
Lines 58
Message-ID <mailman.126.1741471060.2912.python-list@python.org> (permalink)
References <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset="UTF-8"
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de m4g9vH7mLgoyHThQVwTeuQGH05OLXC1w5nAWueshG8mw==
Cancel-Lock sha1:z6RJqZeICYhq6NoR8t5hxe0JS7c= sha256:nS3yDWhl4qohcuq03iOpatBqPs+fT3E6NmHGD1LtIUk=
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=L8Pm/YWn; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.043
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'despite': 0.05; 'issue.': 0.05; 'members,': 0.07; 'subject:Windows': 0.07; 'subject:error': 0.07; 'subject:when': 0.07; '(python': 0.09; 'cc:addr:python- list': 0.09; 'denied': 0.09; 'subject:run': 0.09; 'subject:version': 0.09; 'subject:Python': 0.12; 'cc:no real name:2**0': 0.14; 'problem.': 0.15; 'additionally': 0.16; 'anyway.': 0.16; 'executed': 0.16; 'extending': 0.16; 'mob:': 0.16; 'persists.': 0.16; 'resolving': 0.16; 'skip:" 60': 0.16; 'subject:app': 0.16; 'subject:running': 0.16; 'this?\xc2\xa0': 0.16; 'variables,': 0.16; 'python': 0.16; 'concern,': 0.19; 'cc:addr:python.org': 0.20; 'issue': 0.21; "i've": 0.22; 'ran': 0.22; 'version': 0.23; 'command': 0.23; 'run': 0.23; 'cc:2**0': 0.25; 'tried': 0.26; 'settings': 0.28; 'environment': 0.29; 'this?': 0.29; 'error': 0.29; 'sfxlen:2': 0.31; 'community': 0.31; 'message-id:@mail.gmail.com': 0.31; 'official': 0.32; 'execution': 0.32; 'files,': 0.32; 'kumar': 0.32; 'resolve': 0.32; 'subject:"': 0.32; 'but': 0.32; 'path': 0.33; 'received:google.com': 0.34; 'windows': 0.34; 'from:addr:gmail.com': 0.34; 'running': 0.35; 'someone': 0.35; 'following': 0.35; 'request': 0.35; 'files': 0.36; 'couple': 0.37; 'could': 0.37; 'file': 0.38; '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; 'error,': 0.38; 'url-ip:104.18.41/24': 0.39; 'url- ip:172.64.146/24': 0.39; 'prompt': 0.39; 'deleting': 0.40; 'whenever': 0.40; 'want': 0.40; 'try': 0.40; 'apps': 0.62; 'i\xe2\x80\x99ve': 0.62; 'python.org': 0.62; 'email': 0.63; 'your': 0.64; 'saw': 0.65; 'look': 0.65; 'well': 0.65; 'url:png': 0.66; 'skip:1 20': 0.67; 'url:net': 0.67; 'site': 0.68; 'further': 0.69; '+91': 0.69; 'showed': 0.69; 'below': 0.69; 'url-ip:lookup error': 0.72; 'direct': 0.73; '<>*': 0.74; 'causing': 0.75; 'finds': 0.76; 'kindly': 0.79; 'subjectcharset:utf-8': 0.80; 'reference.': 0.81; 'subject:your': 0.83; "'this": 0.84; '*kind': 0.84; 'error)': 0.84; 'pop-up': 0.84; 'skip:* 60': 0.84; 'regards,\xc2\xa0': 0.91; 'subject:\xe2\x80\x99': 0.91; 'to:addr :python-help': 0.91; 'subject:This': 0.93; 'url:i': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1741429802; x=1742034602; darn=python.org; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=Rg8MCb/aND9Q/IEip4AhR3Yl9mVBGDZa9T6zJqJWvRE=; b=L8Pm/YWnYgyNgmi5ZOLFyJK4pSgAXfticIkCKQOZUbp7cZVCSuI/4LMODjI2MrMcgD IjoLKZD4whoz2vDwhtrB3oTvhQUbGUHhDWOVpx4be4Lq3DfInOVs7ghVx4ZNXK12pQTB 3c+cQDmN5cecWPuf4LQFLDXatUgVRd1WyCyxyTI7MvYTvFF7FtfVu5zNaHj4V0yckzcR vGLHnVUpTdE5HxqnNX2tpwE46N3F2YZF8uZFQxHk6MkYQs8l2u3k/dziG3uVVTUbgchY m1TaD+qWlQZzDgKasuBCkeHZqKcnbf+zzh4TOEPp23ZHoxBj73PN9jzuPl5H65oHEmQP GEIw==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741429802; x=1742034602; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=Rg8MCb/aND9Q/IEip4AhR3Yl9mVBGDZa9T6zJqJWvRE=; b=d+cgqsDAOJX8p2FQDOQASf9tfUP0PR2z95wV7UY+TO9jBkuz5n1Xt2Zt/ZaY8b07On 1fmn3xTDqcdOOtRdE4ax/BPp9+kgsrW4ibCVs1Lxz+tdkJmA1mcrNzOctpX7Rl/h3wZL 0ktyaI+vDlkI4TsvTB2LQGoijzQEEt5xsTCHJFQNJD6PMAdKgpJYi4mwH5CTblrBQ/w+ YCdoWzg1kzHZTcuUq4vHv1BRSNHlSEhRAC8kmpYuTskLJ8xZt1bepHe6J30OTDVBuWjj gmAcBP0bL/HX/efajPw6TixGl7sIScjziug58Td9e8LCjOG4OX/fLV1pBWiD3SthsCH1 N4ug==
X-Gm-Message-State AOJu0YwDvIMf9pLvjkjzciZOsNQgX27MxFo4iDya5OYz1P6wBfVVJ+Si sfKB7VgPX2dcyv3tLHym7wsFNO9fMeT09qDFpkixQ96P59dpQJR5mW6cPYnyyrWwHf09/ALO0oK Jii//H6zZ7ruawQNfFGEZcVKlfeGQsg==
X-Gm-Gg ASbGncveKTdk7UwxaJdftlQMQ39TbR/SIkBLGzWLlFzH4Wg4bLcnRtrYPSTtBXeL9Im pcEhObY/SSmaM6K3zma+sj43uEkYp+JNNucMw6fCFg3gZX0ZlmadrmsWTqxwxWDVbUo+/q10yZ2 2Y1Ml/r2gY+MAzqk/R+o6l8ON/
X-Google-Smtp-Source AGHT+IFEVVvYGfYJYwA3FJktVoqzNdvvfuacLUYMy8vkbeDHQw+pc55cFchy8qQkwKU/peJ6Tl07khfpS/Yjs1HVfUU=
X-Received by 2002:a17:90b:1dce:b0:2ff:62f3:5b19 with SMTP id 98e67ed59e1d1-2ff7ce6f0bcmr10615148a91.13.1741429802245; Sat, 08 Mar 2025 02:30:02 -0800 (PST)
X-Gm-Features AQ5f1JqTmcO25-9c5mcftlhG-BFZ9P7OHtGs_C5CPoGRiW0yMWwXnL0_kZohb08
X-Mailman-Approved-At Sat, 08 Mar 2025 16:57:39 -0500
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 <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
Xref csiph.com comp.lang.python:197360

Show key headers only | View raw


Hi Python community and members,

I hope this email finds you well, I want you to be assisted in resolving
this following issue. kindly look at the below concern,

"""I’m running into an error where I get a 'This app can’t run on your PC'
pop-up with (Access is Denied error) whenever I try to run the Python
version (python --version) or run python.exe in the Command Prompt on
Windows 11."""


*Here’s what I’ve tried so far:*

*Uninstalled python software from the apps settings and reinstalled python
software from the official python.org site

*Added Python to the PATH in the Environment Variables. (system variables,
User variables.)

***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\
***C:\Users\Bharath\AppData\Local\Programs\Python\Python313\Scripts\

* however, then after I tried running direct path execution in the cmd.
"C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"
--version, however it works well and it executed and showed the version,
but without file path, it won't work anyway.

* Additionally I've checked windows apps interference whether it is causing
this error, and I saw a couple of python.exe files in this folder contains
0KB size then I thought these were corrupted and after I tried deleting
these files, later I re-checked in cmd, however the issue persisted. refer
to the following error for your further reference.



*https://i.sstatic.net/6koOnZBM.png
<https://i.sstatic.net/6koOnZBM.png>https://i.sstatic.net/65JC9FuB.png
<https://i.sstatic.net/65JC9FuB.png>*

* Ran the Command Prompt as an administrator.

*Tried multiple other troubleshooting steps, but none of them worked.

Despite these efforts, the issue persists. Could someone please help me
resolve this?

Extending my request you to kindly help me out of this error and give me
the root cause of this problem.


*Kind regards, *

*Sincerely,*

*Praveen Kumar*

*Mob: *+91 9515531643

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