how to check if a pip library is installed code example Example: how to check if pip is installed File"stdin",line 1 pip list Syntax Error: invalid syntax