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

Popular posts from this blog

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -

ubuntu - Selenium Node Not Connecting to Hub, Not Opening Port -