-2

I just bought a new notebook and I installed on it Python 3.6 and after restarting it, I tried to open python in CMD using "python" as I used to do in my old laptop but it does not take any effect. Also I tried with PyCharm console but nothing... Somebody knows what to do?

Greetings!

  • When you install Python 3.6 on Windows, it asks you whether or not it should add Python to the path. You have to say yes to this for CMD (and possibly PyCharm?) to be able to find Python. – jmd_dk Dec 28 '16 at 18:18
  • "does not take any effect" is unhelpfully vague. What actually happens when you type `python` into the command line and hit ENTER? – user2357112 Dec 28 '16 at 18:28

1 Answers1

1

You probably need to add a system variable so the cmd knows where to look for python interpreter. check out this link for where you can change the variables. https://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7 Now edit the PATHS variable, at the end add a semicolon and put in the path to your Python interpreter, for example if you havent changed the default it should probably be C:\Python36.

Milos Grujic
  • 544
  • 6
  • 15