see which pip python is using code example Example: how to check if pip is installed File"stdin",line 1 pip list Syntax Error: invalid syntax