How can I verify if Python 2 is installed and correctly configured in my system's PATH?

Responsive Ad Header

Question

Grade: Education Subject: Support
How can I verify if Python 2 is installed and correctly configured in my system's PATH?
Asked by:
87 Viewed 87 Answers

Answer (87)

Best Answer
(329)
After installation, open your terminal or command prompt and type `python --version` or `python2 --version`. If Python 2 is installed and in your PATH, it should display the Python 2 version number. If it doesn't work, you might need to manually add the Python 2 installation directory to your system's PATH environment variable.