• =?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?=

    From Thomas Passin@list1@tompassin.net to comp.lang.python on Sun Mar 9 17:14:00 2025
    From Newsgroup: comp.lang.python

    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.

    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From Chris Townley@news@cct-net.co.uk to comp.lang.python on Mon Mar 10 16:56:07 2025
    From Newsgroup: comp.lang.python

    On 10/03/2025 16:08, Praveen Kumar wrote:
    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.


    I trust any system dependencies on these can be handled by 'your' version
    --
    Chris
    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From Mats Wichmann@mats@wichmann.us to comp.lang.python on Mon Mar 10 12:23:35 2025
    From Newsgroup: comp.lang.python

    On 3/10/25 10:08, Praveen Kumar via Python-list wrote:
    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.
    The "empty" ones are part of the app execution alias system in Windows.
    If you do nothing at all, these at the things that offer to launch the Microsoft Store you can install Python from there. They're not actual
    files, they are NTFS reparse points, and if you need to remove them you
    should use the fsutil utility.

    Yes, this is pretty obscure.


    --- Synchronet 3.20c-Linux NewsLink 1.2