I'm trying to use pip to install a package. I try to run pip install from the Python shell, but I get a SyntaxError. Why do I get this error? How do I use pip to install the package?
CodePudding user response:
To install the libraries using pip, you need to use terminal and then pip install <package_name>, in this case
pip install numpy`.
CodePudding user response:
to install pip packages you need to do it from outside the python terminal. So if you open a cmd window and then do pip install it should work.
CodePudding user response:
There To install the numpay libraries, you need to use command prompt and then enter command pip install <package_name>, In you case pip install numpy.