I am trying to install Python Selenium, pip install selenium
, but I get this error:
File "", line 1 pip3 install selenium ^^^^^^^ SyntaxError: what is the solution for invalid syntax
Snapshot:
I am trying to install Python Selenium, pip install selenium
, but I get this error:
File "", line 1 pip3 install selenium ^^^^^^^ SyntaxError: what is the solution for invalid syntax
Snapshot:
Copyright © 2021 Jogjafile Inc.
This error message...
...implies that system was unable to locate
pip
.Solution
This error is shown on windows when user tries to use
pip
in the command prompt. To address this error on windows os you need to add the path of the Python Interpreter to the systemPath
variable.To see a list of things you can do with
pip
, you can execute the command on your terminal:Additionally, you may need to upgrade pip as follows:
Then you can simply install or upgrade the Selenium Python bindings as follows: