Checking whether pip is installed?

I am using Python 2.7.12 and I want to check whether the pip is installed or not. For this, in command line of Python application I wrote pip list and pressed enter. However, I get an error like:

File"stdin",line 1

pip list

Syntax Error: invalid syntax

So, how can I solve this issue and get the list of modules as an output?

Thanks

Leave a Comment