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

    From Praveen Kumar@thitanpraveenkumar143@gmail.com to comp.lang.python on Mon Mar 10 20:31:05 2025
    From Newsgroup: comp.lang.python

    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

    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From Praveen Kumar@thitanpraveenkumar143@gmail.com to comp.lang.python on Mon Mar 10 20:42:56 2025
    From Newsgroup: comp.lang.python

    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

    --- Synchronet 3.20c-Linux NewsLink 1.2
  • From Praveen Kumar@thitanpraveenkumar143@gmail.com to comp.lang.python on Mon Mar 10 21:38:14 2025
    From Newsgroup: comp.lang.python

    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


    --- Synchronet 3.20c-Linux NewsLink 1.2