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


Groups > comp.lang.python > #197364

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 Sun, 9 Mar 2025 09:17:42 +0530
Lines 110
Message-ID <mailman.130.1741492079.2912.python-list@python.org> (permalink)
References <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com> <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> <CAD59pYsc5-kryRVjhEFkc1xDeRB-k-N4deTrUKF+T2xQ5fe8Qw@mail.gmail.com> <CAD59pYvVOcSa0STDQxVbkTwVCnY-A3D_XC_HmE9-E4AZoh-ZKA@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 XHeukYNUvsEpVysgVweS4waYsngRNNLPZsnbH8eE8+cg==
Cancel-Lock sha1:owa8r3nf5DGeVAZgmdNKG11MApA= sha256:JytohrBRvO9juGW9O6e5LuR6VTwamidQwNvuztcpGgY=
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=NA17ZNH9; dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status OK 0.002
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'despite': 0.05; 'issue.': 0.05; 'mar': 0.07; 'members,': 0.07; 'subject:Windows': 0.07; 'subject:error': 0.07; 'subject:when': 0.07; 'sun,': 0.07; 'url:mailman': 0.09; '(python': 0.09; 'cc:addr:python-list': 0.09; 'denied': 0.09; 'email addr:python.org>': 0.09; 'subject:run': 0.09; 'subject:version': 0.09; 'though.': 0.09; 'user.': 0.09; 'subject:Python': 0.12; '&gt;': 0.14; 'cc:no real name:2**0': 0.14; 'problem.': 0.15; 'url:listinfo': 0.15; 'additionally': 0.16; 'anyway.': 0.16; 'executed': 0.16; 'extending': 0.16; 'kumar,': 0.16; 'mob:': 0.16; 'persists.': 0.16; 'privileges': 0.16; 'resolving': 0.16; 'skip:" 60': 0.16; 'sounds': 0.16; 'subject:: "': 0.16; 'subject:app': 0.16; 'subject:running': 0.16; 'variables,': 0.16; 'wrote:': 0.16; 'python': 0.16; 'admin': 0.19; 'concern,': 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; 'issue': 0.21; "i've": 0.22; 'ran': 0.22; 'version': 0.23; 'command': 0.23; 'installed': 0.23; 'run': 0.23; 'url- ip:188.166/16': 0.24; 'cc:2**0': 0.25; 'tried': 0.26; "wasn't": 0.26; 'settings': 0.28; 'email addr:python.org&gt;': 0.28; 'environment': 0.29; 'this?': 0.29; 'error': 0.29; 'am,': 0.31; 'community': 0.31; 'message-id:@mail.gmail.com': 0.31; "doesn't": 0.32; 'official': 0.32; 'execution': 0.32; 'files,': 0.32; 'kumar': 0.32; 'python-list': 0.32; 'resolve': 0.32; 'subject:"': 0.32; 'but': 0.32; "i'm": 0.33; 'path': 0.33; 'header:In-Reply- To:1': 0.34; 'received:google.com': 0.34; 'windows': 0.34; 'same': 0.34; 'from:addr:gmail.com': 0.34; 'running': 0.35; 'trying': 0.35; 'someone': 0.35; 'following': 0.35; 'request': 0.35; 'files': 0.36; 'couple': 0.37; "it's": 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; 'put': 0.38; 'error,': 0.38; 'url-ip:104.18.41/24': 0.39; 'url-ip:172.64.146/24': 0.39; 'mentioned': 0.39; 'prompt': 0.39; 'still': 0.40; '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; 'showing': 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; 'worked': 0.67; 'url:net': 0.67; 'site': 0.68; 'further': 0.69; '+91': 0.69; 'showed': 0.69; 'below': 0.69; '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; 'email name:&lt;python-list': 0.84; 'error)': 0.84; 'pop-up': 0.84; 'skip:* 60': 0.84; 'subject:\xe2\x80\x99': 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=1741492076; x=1742096876; 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=RLROG2wMnPku/wkHeOOtG2biI6ZmlMheFZnHNZN2jOM=; b=NA17ZNH9oo0V/TG777PWIfKMzSWuYg2H62h/cfiEfElfrr3YOV6/U50EqZf6b0MiLq X5GLwMLdbNSBggdNA3/kImvNdhO49IRURSxf78lQa9WJH+qT3BxtQddnh9xPI7zI0vS7 weqRuwyCpnjb0DHHnLa8IC+ezrAFUelKEnGi0O2VB0SRJjnvpT0AUsCB8eU6mn8FTugc ewBPnCR+PMbmdXyM9E3kt3DP+aKzdpFs1MG+1d0Z6sSeHvwKCc2dv0+Kwjt/I35AYKrZ r1ZTCMVIVMo9j39b03ju44bctWA/SXGkLO/06fzOagP9Kbm36du0eo/bDQmDGxMWZ0iQ N5JQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1741492076; x=1742096876; 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=RLROG2wMnPku/wkHeOOtG2biI6ZmlMheFZnHNZN2jOM=; b=v0tNl+kSTkj8IjQOnNS6whi1r4tPa/40bunvWwGsSdRUeMEOoIbwpYXW4bGiyx8AI9 aUow++7eCguwCMsUIxZivM2vzbymMCLVDz9b4uEg1OY11CgX4OzfoTGY1n+AWJPltLZ9 G7rkqZAmqhDVVmMUFioWDqPFIcpqnc/zv7PKlgjY+zK75QBVecJykMoS2T2652infKjp Vcy6CLtXXnA9WwlFHO7kSFvB7rt0Iz2FGRJjg2twnAA7aw3rPuys6df2QCN0jemiU1hk DRpZsxFDweXR55lEbol+MVNBoCSgnRHc9+Bm+a9koLpz/xQkk/+q8o0CdA9GYtYJI8F4 AijA==
X-Gm-Message-State AOJu0YydW8bXUu0MxxTm6nz+AAF6+r1raOkVvfZxmO8AGUrVzu9UGBYQ 4N6hDwVWVbG3dPzif7dBnfQw+TfN3r0sJSCl9u84YV4lUUvjg8R/khNZxVwwrikHCUsIjFSy4Dk rHRnOhGk7EsE1YUk62H9NoJYCu8XhNQ==
X-Gm-Gg ASbGncvobMnOvBV0wfN6DkivDInV7T1hAMQGwKI6PBp+GatQY5nJtkIiGweGrj9l8lW lVkoci9MEMaDKcmD+zXtm0AjU/o5SYtwyfPIXvS5mE19oxOo0PIGAKgtcw8ghjHrpuM59tPF8/b e1PujKqdq5Tjv6q7rlQbolBKIf6ADDwBwk/DPSmNunEW6r8LMZvGRPlttYEFIH
X-Google-Smtp-Source AGHT+IFgRz/G5TVxWSwQwuDM2HvWxLQbw/BQKsCMgNrxloGAREFYzZNn5Kgao2yG3qDijD6Rt4isJ3UtCGF1uBHJbo8=
X-Received by 2002:a17:90b:1dce:b0:2ff:62f3:5b19 with SMTP id 98e67ed59e1d1-2ff7ce6f0bcmr14395689a91.13.1741492075516; Sat, 08 Mar 2025 19:47:55 -0800 (PST)
In-Reply-To <CAD59pYsc5-kryRVjhEFkc1xDeRB-k-N4deTrUKF+T2xQ5fe8Qw@mail.gmail.com>
X-Gm-Features AQ5f1JrJShr0gWxMsMyzN6aPZCjCwlH2Oyf1XcGrwmkvV7z0lgSFZ4E0xrf7ZSc
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 <CAD59pYvVOcSa0STDQxVbkTwVCnY-A3D_XC_HmE9-E4AZoh-ZKA@mail.gmail.com>
X-Mailman-Original-References <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com> <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net> <CAD59pYsc5-kryRVjhEFkc1xDeRB-k-N4deTrUKF+T2xQ5fe8Qw@mail.gmail.com>
Xref csiph.com comp.lang.python:197364

Show key headers only | View raw


Hi Thomas and team,

It's worked In non-admin privileges after put the file in path at the first
on environmental path variables, but with admin privileges it doesn't work
though. Showing same error, as I mentioned earlier.



Kind regards,
Sincerely,
Praveen Kumar
Mob: +91 9515531643

On Sun, 9 Mar 2025, 09:03 Praveen Kumar, <thitanpraveenkumar143@gmail.com>
wrote:

> Hi Thomas
>
> No, I wasn't installed by admin privileges and I'm not running as a
> non-admin, regardless I tried running with admin and non-admin privileges,
> however the issue still persisted.
>
> Kind regards,
> Sincerely,
> Praveen Kumar
> Mob: +91 9515531643
>
> On Sun, 9 Mar 2025, 03:52 Thomas Passin via Python-list, <
> python-list@python.org> wrote:
>
>> On 3/8/2025 5:29 AM, Praveen Kumar via Python-list wrote:
>> > 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
>>
>> It sounds like you installed Python as an admin but are trying to run it
>> as a non-admin user.
>>
>> --
>> https://mail.python.org/mailman/listinfo/python-list
>>
>

Back to comp.lang.python | Previous | Next | Find similar


Thread

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-09 09:17 +0530

csiph-web