Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

2025-03-08 Thread Praveen Kumar via Python-list
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, 
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/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
>>
>
-- 
https://mail.python.org/mailman/listinfo/python-list


Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

2025-03-08 Thread inhahe via Python-list
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’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/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
>
-- 
https://mail.python.org/mailman/listinfo/python-list


"Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

2025-03-08 Thread Praveen Kumar via Python-list
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/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


Re: "Getting 'This app can’t run on your PC' (Access Denied) error when running Python or checking version in CMD on Windows 11"

2025-03-08 Thread Thomas Passin via Python-list

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/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