You May hangover by How/ Step to install new Python Package from inside of IPython. Nothing to worry. We are here for Good Solution.
When you are try
pip install packagename
It’ll returns following error:
SyntaxError: invalid syntax
Solution:
Please Use !
(Exclamation Mark) as a prefix of pip. For example,
!pip install packagename
The prefix !
(Exclamation Mark) is the short-hand for %sc
command to run the shell commands.
The following two tabs change content below.
Latest posts by KarSho (see all)
- Step to Install JOOMLA in WAMP Localhost - March 30, 2020
- ‘Your Projects’ Links Not working in WAMP Server - March 29, 2020