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

jquery - How do you format the date used in the popover widget title of FullCalendar? -

asp.net mvc - SSO between MVCForum and Umbraco7 -

Python Tkinter keyboard using bind -