I Successfully installed pip but when I ran pip it gave me the following error:

C:\PYQGIS\DOCS>pip File "C:\OSGEO4~1\apps\Python37\lib\site.py", line 177 file=sys.stderr) ^ SyntaxError: invalid syntax


For using pip in OSGeo4W, run it at the OSGeo4W Shell (C:\OSGeo4W64\OSGeo4W.bat):



Already solved just use pip3 on python3+

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.