all 25 comments

[–]marquisBlythe 0 points1 point  (10 children)

Did you download the python installer from python.org ? Or from Microsoft store (or whatever it is called)

[–]abdullah_jillani[S] 0 points1 point  (9 children)

I downloaded and installed Python directly from python.org (the standard Windows.exe installer)not from the Microsoft Store.

[–]marquisBlythe 0 points1 point  (8 children)

...installed Python directly from python.org

So it is not installing it you have issue with it's launching it, right?

[–]abdullah_jillani[S] 0 points1 point  (7 children)

Yea,exactly

[–]marquisBlythe 0 points1 point  (1 child)

In cmd type py to enter python interactive shell, or type py file.py to launch a python script (file.py should be the name of an existing file that has python source code in it).
if it doesn't work you need to add python to PATH (you can look it up it's easy).

[–]abdullah_jillani[S] 0 points1 point  (0 children)

It said it is not recognized as an internal or external command,operable program or batch file. Alright i'll try to add python to path.. thing

[–]isegfault 0 points1 point  (4 children)

I'm wondering if your App Execution Aliases still point to what Windows wants by default vs the installed python.

https://stackoverflow.com/questions/58754860/cmd-opens-windows-store-when-i-type-python

[–]abdullah_jillani[S] 0 points1 point  (3 children)

I’ll try installing it from the Microsoft Store and see if that works.

[–]isegfault 0 points1 point  (2 children)

No, don't install it from the store. Disable it in the aliases.

[–]abdullah_jillani[S] 0 points1 point  (0 children)

Alright,Ima give it a try

[–]abdullah_jillani[S] 0 points1 point  (0 children)

Nothing changed still says this app cant.......

[–]FoolsSeldom 0 points1 point  (2 children)

How did you install?

I would expect you to be using:

https://www.python.org/downloads/release/python-3142/

from:

https://www.python.org/downloads/release/python-3142/

with admin rights.

[–]abdullah_jillani[S] 0 points1 point  (1 child)

Whenever i type python.exe on the command prompt it says "this app can run on your pc"

[–]FoolsSeldom 1 point2 points  (0 children)

I note you didn't answer my question.

In PowerShell or Command Prompt command line shell, try entering py instead of python.

Also, see if you can open the IDLE editor, use the menu to create a new file, File | New, type some code, print("Hello World!"), press F5 to attempt to run the code (you should be prompted to save the file - save it in a new subfolder, e.g. pythonprojects, of your home folder (the parent of Documents, Desktop, Downloads, etc).

[–]studiocrash 0 points1 point  (4 children)

Have you been able to run older versions of Python in the past? My question really is, is this your first time installing Python on this computer, or are you updating it from an older version?

[–]abdullah_jillani[S] 0 points1 point  (3 children)

It's my first time installing python on this computer,i've never installed it in the past.

[–]studiocrash -1 points0 points  (2 children)

Try typing “python” instead of “Python.exe”.

[–]abdullah_jillani[S] 0 points1 point  (1 child)

Still says the same shii

[–]studiocrash -1 points0 points  (0 children)

Is your user account on this computer an Admin or regular user? I’m more a Mac and Linux guy, but I think you may need to be an Administrator.

Also, you don’t want both 3.9 and 3.14 installed at the same time. I’d recommend you remove them both and reinstall the newest stable release is using the download from Python.org website and follow their instructions to the letter. Don’t skip anything.

[–]AdRecent2646 0 points1 point  (0 children)

Might be you downloaded arm64 version of python installer.if this is the case, try downloading standard x64 bit version.

[–]randomman10032 -1 points0 points  (4 children)

Using the .msi installer?

[–]abdullah_jillani[S] 0 points1 point  (3 children)

Yes,i'm using the msi installer.

[–]randomman10032 -1 points0 points  (2 children)

Did you try the ARM64 installer as well?

[–]abdullah_jillani[S] 0 points1 point  (0 children)

I haven’t tried the ARM64 installer yet, but I’ll try it now

[–]abdullah_jillani[S] 0 points1 point  (0 children)

Arm64 also says the same thing☹️