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

python - Installing PyDev in eclipse is failed -

PHP OOP-based login system -

c# - Nested Internal Class with Readonly Hashtable throws Null ref exception.. on assignment -