-2

I have installed python 3.11 on my Widnows from its official website, and when I want to run it in command line by typing "python3" it doesn't run Python for me; Instead it opens Microsoft store for me to download Python!

I tried reinstalling it but it didn't fix. Did I miss anything before installing or in the installation process?

Hr-Panahi
  • 1
  • 3
  • You sure add it in your path in windows? –  May 06 '23 at 11:40
  • If you have installed python successfully, press the windows key and search for idle. Open this app, thats the default python ide – Thomas May 06 '23 at 11:43
  • 1
    Try `python` instead of `python3`. – bool3max May 06 '23 at 11:43
  • @Jibel Thanks friend. That was the problem I guess. I forgot to add it to the path when I was installing it. reinstalled it and checked the box asking to add it to path and now I can easily run it in the command line. I appreciate your answer. – Hr-Panahi May 06 '23 at 11:46

1 Answers1

-2

If you are sure you installed the python you just need to add your python to your windows path, then windows would know where is the python