Deutsch   English   Français   Italiano  
<mailman.129.1741491928.2912.python-list@python.org>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: inhahe <inhahe@gmail.com>
Newsgroups: comp.lang.python
Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_=28Acce?=
 =?UTF-8?Q?ss_Denied=29_error_when_running_Python_or_checking_version_in_?=
 =?UTF-8?Q?CMD_on_Windows_11=22?=
Date: Sat, 8 Mar 2025 22:45:13 -0500
Lines: 75
Message-ID: <mailman.129.1741491928.2912.python-list@python.org>
References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
 <CAPeSgWqV5wb6sf1MyHi15MYTD39L1QD5+fNNKE2f2fH2hkGwCQ@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 8eE17W0vM9KyqRA1WQT9pwX+HU58+k41SIenCHdCxVtA==
Cancel-Lock: sha1:3Hlbzdbw5BLK99V89Lt2QjSQ5yM= sha256:P3EvVyNv1vSgH5mh93bKzbQyKleR3FmLTD5rw9bCNV0=
Return-Path: <inhahe@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=BP8MfAtl;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.009
X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'despite': 0.05; 'issue.':
 0.05; 'happened': 0.07; 'mar': 0.07; 'members,': 0.07;
 'subject:Windows': 0.07; 'subject:error': 0.07; 'subject:when':
 0.07; 'url:mailman': 0.09; '(python': 0.09; 'denied': 0.09; 'email
 addr:python.org>': 0.09; 'subject:run': 0.09; 'subject:version':
 0.09; 'subject:Python': 0.12; 'problem.': 0.15; 'url:listinfo':
 0.15; '2025': 0.16; 'additionally': 0.16; 'anyway.': 0.16;
 'executed': 0.16; 'extending': 0.16; 'persists.': 0.16;
 'resolving': 0.16; 'skip:" 60': 0.16; 'subject:: "': 0.16;
 'subject:app': 0.16; 'subject:running': 0.16; 'variables,': 0.16;
 'wrote:': 0.16; 'python': 0.16; 'concern,': 0.19; 'to:addr:python-
 list': 0.20; 'option': 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;
 'maybe': 0.22; 'ran': 0.22; 'sat,': 0.22; 'version': 0.23;
 'command': 0.23; 'installed': 0.23; 'run': 0.23; 'url-
 ip:188.166/16': 0.24; 'tried': 0.26; 'settings': 0.28; 'email
 addr:python.org>': 0.28; 'environment': 0.29; 'recently': 0.29;
 'this?': 0.29; 'think': 0.29; 'error': 0.29; 'community': 0.31;
 'message-id:@mail.gmail.com': 0.31; '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; 'path': 0.33;
 'header:In-Reply-To:1': 0.34; '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; 'know.': 0.67; 'url:net': 0.67; 'site':
 0.68; 'further': 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; 'email name:<python-list': 0.84; 'error)': 0.84; 'pop-
 up': 0.84; 'skip:* 60': 0.84; 'store.': 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=1741491924; x=1742096724; darn=python.org;
 h=to:subject:message-id:date:from:in-reply-to:references:mime-version
 :from:to:cc:subject:date:message-id:reply-to;
 bh=ydTYWgCtj41jIasmlPLwOH9NN3Uky15IYArnTujmEqI=;
 b=BP8MfAtleJ9+pz6ygcs4QgvT/3Q3uEyv6scvoxZEWcSpwjhmJQF/rZPrpVwO9po7J/
 raKRy3S7W4uFilyj9w8I1m9m8EXejCdmyU3pvOJaulFexq34V2kFPbsPDjXIPae9+WNc
 i94MRHREIrRGJVFpOhcH8mVzAracyBkL5KYplk1M6MOJfw0HFf5AT9TeL5cCH0sgYPiG
 uT4NcZndyrVmM5iK+LBEzLSK1mgtSULHL0shv2BJ/oFlwSs4jVEj0/VU98zrvYCbvDyH
 IGp2/MlBTtcX0Tt8uScxSBV40+Elaluxv1HR+JIz+qb2oSjNhJZR53MQd9XQtRafbxDd
 mrSg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741491924; x=1742096724;
 h=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=ydTYWgCtj41jIasmlPLwOH9NN3Uky15IYArnTujmEqI=;
 b=hzoPgu66bTmnSQPKHMJ7y2fCt1kc7++kI+XXJH+W1t+u0t90sFQVDV5gs+yqYZ4nRb
 dElMuT4URU9hqdwEwIA8BGbX1lDdy7kW6o+2pGr0fVN6Fxp18/hfmOLga5lueWt45pfa
 2hoKNuRYhJIrk0+a3i79t/kVSola/n+SH1VWfha9dO6ThmZCA2JiADpnb44QY2S2zKoz
 8M5CEDLbCY6hUwvN+TBqoqViU2V40z4x90St2whN7RUJjdjIYO+9jV6zBExxTvBYt1ub
 F8INR36hrlA+BjInZWvBjMWuKDhQo6MWM3Xek24irAObb0YM7ZM3tsZ5nnz28o+BaXXd
 ghbA==
X-Gm-Message-State: AOJu0YwvLrQHfwguT9rPN7LhQR/EcY6yCTA7lq4EB64KpAicNgaauYfE
 a+M/fdCHXbfXdbnFT4usQxZ3/wcK9ieu7MSqQ8QbbvbnX4kXQNdhWgA7Jdq2MK8AHSftjI/cj7P
 ys0ahjFy5Ka0QEAr/fjVyWnzGoEbNuRNV
X-Gm-Gg: ASbGncvUdJT9yZW2lgA08aAhWRH8q+TPPNPIUqL1qVe2gimiuMcXu2RNJLxRsF85L4Q
 DwO2L2D6CR81qMKa5O4q3aii0Ollw0nNfbeok7dIHi7+Ib1ZG3rDlncATK2VxooEhj1OFVs7Kco
 r5EToY9BNi0uo+TB4DQNIx+yBP5DXq3fq5cuN7timJhA6YIf8qCBOj6ai8VIV7
X-Google-Smtp-Source: AGHT+IE2luYvQbpaKvTYVxsZYbhub8hvrbiXNrHVpUjrgdKCyAwFrDpxm7d2CfIQx1LoM2d8umzySXGCajkJdyb+0sA=
X-Received: by 2002:a05:690c:3702:b0:6fe:c4bd:e2ca with SMTP id
 00721157ae682-6fecf852a41mr69210327b3.14.1741491924517; Sat, 08 Mar 2025
 19:45:24 -0800 (PST)
In-Reply-To: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
X-Gm-Features: AQ5f1Jq0CCf0F-NeFpWSS_wL7UE11qqS_QsrL2m2vpfHbjUPeEoliAHytaW2YYE
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: <CAPeSgWqV5wb6sf1MyHi15MYTD39L1QD5+fNNKE2f2fH2hkGwCQ@mail.gmail.com>
X-Mailman-Original-References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>

I just recently found out that Windows 11 has an option to only allow apps
from the Microsoft store. I think it was an option I happened to see
somewhere. Maybe that option is set on your PC? If you've already installed
and run other non-Microsoft apps, maybe that option got changed recently by
accident? I don't know.

On Sat, 8 Mar 2025 at 16:59, Praveen Kumar via Python-list <
python-list@python.org> 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=E2=80=99m running into an error where I get a 'This app can=E2=80=99=
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=E2=80=99s what I=E2=80=99ve tried so far:*
>
> *Uninstalled python software from the apps settings and reinstalled pytho=
n
> 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 causi=
ng
> this error, and I saw a couple of python.exe files in this folder contain=
s
> 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. refe=
r
> 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
> --
> https://mail.python.org/mailman/listinfo/python-list
>