Why does "pip install" inside Python raise a SyntaxError? -
i'm trying use pip install package. try run pip install
python shell, syntaxerror
. why error? how use pip install package?
>>> pip install selenium ^ syntaxerror: invalid syntax
pip run command line, not python interpreter. program installs modules, can use them python. once have installed module, can open python shell , import selenium
.
the python shell not command line, interactive interpreter. type python code it, not commands.
Comments
Post a Comment