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

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

Path: ...!weretis.net!feeder8.news.weretis.net!fu-berlin.de!uni-berlin.de!not-for-mail
From: Thomas Passin <list1@tompassin.net>
Newsgroups: comp.lang.python
Subject: =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC?=
 =?UTF-8?Q?=27_=28Access_Denied=29_error_when_running_Python_or_checking_ver?=
 =?UTF-8?Q?sion_in_CMD_on_Windows_11=22?=
Date: Sat, 8 Mar 2025 17:19:43 -0500
Lines: 62
Message-ID: <mailman.127.1741472399.2912.python-list@python.org>
References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
 <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de tdmiWwIrRCZGaNlV4NMdXQ+sDc+kIGteDLZgNOixRuog==
Cancel-Lock: sha1:lqTOQS2w3tazbieOr4dxgGG2+/o= sha256:BxYLL9xosubvBw2Zs//AVEbGzeBCH6xE/nM5DrD6ZP0=
Return-Path: <list1@tompassin.net>
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=tompassin.net header.i=@tompassin.net header.b=TJ+67G8x;
 dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.006
X-Spam-Evidence: '*H*': 0.99; '*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; 'denied': 0.09;
 'received:23.83.212': 0.09; 'received:elm.relay.mailchannels.net':
 0.09; 'subject:run': 0.09; 'subject:version': 0.09; 'user.': 0.09;
 'subject:Python': 0.12; 'problem.': 0.15; 'additionally': 0.16;
 'anyway.': 0.16; 'executed': 0.16; 'extending': 0.16; 'persists.':
 0.16; 'received:10.0.0': 0.16; 'received:64.90': 0.16;
 'received:64.90.62': 0.16; 'received:64.90.62.162': 0.16;
 'received:dreamhost.com': 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; 'to:addr:python-
 list': 0.20; 'issue': 0.21; "i've": 0.22; 'ran': 0.22; 'version':
 0.23; 'command': 0.23; 'installed': 0.23; 'run': 0.23; 'tried':
 0.26; 'settings': 0.28; 'environment': 0.29; 'this?': 0.29;
 'error': 0.29; 'header:User-Agent:1': 0.30; 'am,': 0.31;
 'community': 0.31; 'official': 0.32; 'execution': 0.32; 'files,':
 0.32; 'kumar': 0.32; 'python-list': 0.32; 'received:10.0': 0.32;
 'received:mailchannels.net': 0.32;
 'received:relay.mailchannels.net': 0.32; 'resolve': 0.32;
 'subject:"': 0.32; 'but': 0.32; 'path': 0.33; 'header:In-Reply-
 To:1': 0.34; 'windows': 0.34; 'running': 0.35; 'trying': 0.35;
 'someone': 0.35; 'following': 0.35; 'request': 0.35; 'files':
 0.36; 'couple': 0.37; 'could': 0.37; 'file': 0.38; 'error,': 0.38;
 'url-ip:104.18.41/24': 0.39; 'url-ip:172.64.146/24': 0.39;
 'prompt': 0.39; 'received:100': 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; 'header:Received:6': 0.67; 'url:net': 0.67; 'received:64':
 0.68; 'site': 0.68; 'further': 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; '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
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1741472390; a=rsa-sha256;
 cv=none;
 b=8g2I+bsP8mG0x2XoLF8RxNSh2eaiKCkizy2EIJyAfP8Gt3aCUT7qs4oB6Aa7RwIq1JNMdW
 a+WcQEsNtCgi6y1XMOSO0T9qRRTv9VgPJvXtGh52dDohANiqx1YEkTVUwXb+dbxFwneXGP
 dduewlju7BL6mozHKn9kZOaONCQ8jdAsn1W1UVaVBZoCS1x3c5oRg86GinveqVGv6/W0co
 kTygzZhUNL4jBNhvbogv+Wtz4+LRDCUh9sIXF4r3FaqsTpw2D6I89IbrWm+WpjzFwTSy0c
 vRLIf40c6EFQ6tMi2Gz5zwqs1xxgqsXKcNnpSIS/koOw1jgd8ODzEqeTNuZGIQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed;
 d=mailchannels.net; s=arc-2022; t=1741472390;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type:
 content-transfer-encoding:content-transfer-encoding:
 in-reply-to:in-reply-to:references:references:dkim-signature;
 bh=/++l8b0BG5OyvmBVLIIaylU7vFYBGDxhvzXExDjo8bE=;
 b=MzujuQ4YsCoQX7gZZkUe41uOOCEoHroxf3GjbQ2skV9SWSy2Z5yjRs0W+ktt2Q8Lg+XbsR
 SJ+ROWxeWriDIGr3P+pXoHlfZ05UrS5Xz6Md3BJWQ+0hNS0IGmxFKo3C47gqpFcqHF9x+y
 VbjhrP0KQF3ILgVaxElalY84ersVvEXVFCNFtoLkdxclEfO65Qm8axSplyBjRhtBcV6JRQ
 oJ2ujigK9tdW6UD+fN0Ie4H7u9hQlAREw9X1MM6J/Iz5UiKFoWG5klR8Ysj3TGUJFV1vH7
 QbBeEfW6voBE618LqhZdZyDfZ3jGkv1T3KuLF6ttBfhTfEN+uysfb8mUuRobuA==
ARC-Authentication-Results: i=1; rspamd-76c8b58486-gh8b6;
 auth=pass smtp.auth=dreamhost smtp.mailfrom=list1@tompassin.net
X-Sender-Id: dreamhost|x-authsender|tpassin@tompassin.net
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|tpassin@tompassin.net
X-MailChannels-Auth-Id: dreamhost
X-White-Spicy: 178105e703cd8dc8_1741472390301_1415546854
X-MC-Loop-Signature: 1741472390301:1407324006
X-MC-Ingress-Time: 1741472390301
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tompassin.net;
 s=dreamhost; t=1741472390;
 bh=/++l8b0BG5OyvmBVLIIaylU7vFYBGDxhvzXExDjo8bE=;
 h=Date:Subject:To:From:Content-Type:Content-Transfer-Encoding;
 b=TJ+67G8x5z6VqEoEty3eabZL+UpX/PieJQgrDKYd3Cx6iB9U1m6P3EnvtOvX/JHvX
 dmmYWpInpfhMQ2dyZxhjB7k2buJxpDftK+2yHWj1QXW7QMsayUVJm+x4QJgp+taYvo
 HSXHhmvskPyOWUkXri51lxgKkbsqd3lzu7lsPtwM2ZxKb66Ow/X9K9b+bXJCxAB1zp
 y+3bvFKEJKJHI3fTXoTjqKGrmYxigBAOq4GW+7mUmZLCTTGbepi20GOdAkAApt6SSn
 LGkQL1tZQ7CyL7JJG4poyu0y59D6gMO2ODjyUrBqIFe2fu1yGPBK7/Xq0kFlmvmgj3
 ObOjQJu8hpzJg==
User-Agent: Mozilla Thunderbird
Content-Language: en-US
In-Reply-To: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
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: <6dc1a96f-b023-486b-9c40-48eb4ee5d64c@tompassin.net>
X-Mailman-Original-References: <CAD59pYukbOWc3Xn3EEGmN=cyp=KWSFXOnZwysUJizKRS7HZgLQ@mail.gmail.com>
Bytes: 9161

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.