Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Python
  3. Question
Python

SyntaxError: Why Does Pip Install Invalid Syntax?

Asked by Amit Jaisawal Nov 16, 2022 1.8K views 1 answer
Share

About this question

I'm trying to use pip to install a package. I try to run pip install from the Python shell, but I get a SyntaxError. How do I use pip to install the package without getting python pip invalid syntax error?


>>> pip install selenium 
^
SyntaxE
r
r
o
r: invalid syntax

Your answer

1 Answer

More Python discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Python Blogs

Guides, tips and career advice on Python from JanBask experts.