0

I know that I need to add Python to my PATH and I've tried to add it by copy and pasting its address C:\Users\aiden\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Python 3.6 to my PATH, but when I try to use python in the command prompt, it is not recognized as a command.

Here an image of my PATH variable:

4
  • What's your OS? Be sure to restart terminal after adding Python to PATH. If it keeps not working you could try to reinstall Python making sure you check the "Add Python 3.6 to PATH" Commented Nov 16, 2018 at 11:39
  • If you are on Windows, can you type in in cmd "print %PATH%" and see what comes out? you can compare the output to makes sure it shows the location of Python.exe. Commented Nov 16, 2018 at 11:39
  • 1
    Possible duplicate of Python not working in command prompt? Commented Nov 16, 2018 at 11:43
  • Try restarting your command prompt. Commented Nov 16, 2018 at 11:44

1 Answer 1

2

It seems very unlikely that your python has been installed to the Start Menu path. Try

  1. Right-click on your 'Python 3.6' in your start menu path and open file location
  2. In the folder that appears, right-click on 'Python 3.6' and copy the text from 'Target'
  3. Add the Target-text into 'system environment variables' where the variable name is 'Path'

You might need to logout and in again, for this to take affect.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.