• =?UTF-8?Q?Re=3A_=22Getting_=27This_app_can=E2=80=99t_run_on_your_PC=27_

    From Praveen Kumar@3:633/280.2 to All on Sun Mar 9 14:33:44 2025
    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?=

    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 resolvin=
    g
    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=
    =99t 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
    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 m=
    e
    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


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From inhahe@3:633/280.2 to All on Sun Mar 9 14:45:13 2025
    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?=

    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


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Praveen Kumar@3:633/280.2 to All on Sun Mar 9 14:47:42 2025
    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?=

    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 resolvi=
    ng
    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= =99t 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
    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 versio=
    n,
    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 deletin=
    g
    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 m=
    e
    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



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Praveen Kumar@3:633/280.2 to All on Mon Mar 10 01:50:47 2025
    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?=

    If the path had been set for a local user but not for the system, you
    would see that behavior.

    The install from python.org should have installed the "py" launcher.
    Does that run? IOW, does typing "py" launch Python?


    Yes it does for both admin and non-admin cmd shells. But python.exe and
    python do evoke the cited error.


    Kind regards,
    Praveen

    On Sun, 9 Mar 2025, 17:56 Thomas Passin via Python-list, < python-list@python.org> wrote:

    On 3/8/2025 10:47 PM, Praveen Kumar wrote:
    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.

    If the path had been set for a local user but not for the system, you
    would see that behavior.

    The install from python.org should have installed the "py" launcher.
    Does that run? IOW, does typing "py" launch Python?


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

    On Sun, 9 Mar 2025, 09:03 Praveen Kumar,
    <thitanpraveenkumar143@gmail.com
    <mailto: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 <mailto: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=E2=80=99m running into an error where I get a 'This app=
    can=E2=80=99t
    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 python
    > software from the official python.org <http://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 whethe=
    r
    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/6koOnZBM.png <https://
    i.sstatic.net/6koOnZBM.png>>https://i.sstatic.net/65JC9FuB.png
    <https://i.sstatic.net/65JC9FuB.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 the=
    m
    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>


    --
    https://mail.python.org/mailman/listinfo/python-list


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Praveen Kumar@3:633/280.2 to All on Tue Mar 11 02:01:05 2025
    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?=

    Is that an approved location for executables?

    May I know? What do you mean by approved location?

    Kind regards,
    Praveen

    On Mon, 10 Mar 2025, 01:25 Gilmeh Serda via Python-list, < python-list@python.org> wrote:

    On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:

    "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"

    Is that an approved location for executables?

    --
    Gilmeh

    Even bytes get lonely for a little bit.
    --
    https://mail.python.org/mailman/listinfo/python-list


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Praveen Kumar@3:633/280.2 to All on Tue Mar 11 02:12:56 2025
    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?=

    Yes,

    I have 24.3.1 version of pip in my win 11 device, there is a new version of
    pip available, 25.0.1

    Shall I upgrade that?

    Kind regards,
    Praveen

    On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, < python-list@python.org> wrote:

    On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
    On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:

    "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"

    Is that an approved location for executables?

    Yes, that's where a python.org install normally goes. If you are
    changing the system paths, that location is the one to use. But if
    that's the location that the system links Python.File to, it should
    launch without a problem. Maybe you should remove the path steps you
    added previously and see if that clears up the problem.

    First, though, try to run python using the absolute path you have just
    found.

    BTW, it's always a good idea to run pip using the python install that
    you will be running. So if "python" runs the right version, then invoke
    pip this way:

    python -m pip

    If you use the launcher, then:

    py -m pip

    This will make sure you use the version of pip that goes with your
    version of python, just in case there are other versions somewhere on
    the computer.

    --
    https://mail.python.org/mailman/listinfo/python-list


    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)
  • From Praveen Kumar@3:633/280.2 to All on Tue Mar 11 03:08:14 2025
    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?=

    Hi Matt,

    I pointed out onething that related to the errors, what I pointed out is I
    just gone through the system 32 path in c drive and I found the python executive and other python files indicating 0 kb, and I deleted these exe, since these are seem to be corrupted to me, then after I tried running
    python and python --version with admin and all those executables, anyway it works really well.

    (Finally The all issues stand resolved.)

    Thank you for support matt and team,

    I'm really thankful for your attention to this matter.



    Kind regards,
    Praveen

    On Mon, 10 Mar 2025, 20:42 Praveen Kumar, <thitanpraveenkumar143@gmail.com> wrote:

    Yes,

    I have 24.3.1 version of pip in my win 11 device, there is a new version
    of pip available, 25.0.1

    Shall I upgrade that?

    Kind regards,
    Praveen

    On Mon, 10 Mar 2025, 03:04 Thomas Passin via Python-list, < python-list@python.org> wrote:

    On 3/9/2025 3:16 PM, Gilmeh Serda via Python-list wrote:
    On Sat, 8 Mar 2025 15:59:51 +0530, Praveen Kumar wrote:

    "C:\Users\Bharath\AppData\Local\Programs\Python\Python313\python.exe"

    Is that an approved location for executables?

    Yes, that's where a python.org install normally goes. If you are
    changing the system paths, that location is the one to use. But if
    that's the location that the system links Python.File to, it should
    launch without a problem. Maybe you should remove the path steps you
    added previously and see if that clears up the problem.

    First, though, try to run python using the absolute path you have just
    found.

    BTW, it's always a good idea to run pip using the python install that
    you will be running. So if "python" runs the right version, then invoke
    pip this way:

    python -m pip

    If you use the launcher, then:

    py -m pip

    This will make sure you use the version of pip that goes with your
    version of python, just in case there are other versions somewhere on
    the computer.

    --
    https://mail.python.org/mailman/listinfo/python-list



    --- MBSE BBS v1.0.8.4 (Linux-x86_64)
    * Origin: ---:- FTN<->UseNet Gate -:--- (3:633/280.2@fidonet)