saving . . . saved statistics has been deleted. statistics has been hidden .
In [1]: sudo apt-get install python3-pip
  File "<ipython-input-1-adffa9420756>", line 1
    sudo apt-get install python3-pip
SyntaxError: invalid syntax

Python-3.4.3 Statistics 02-03 min 0-10 sec 19-10-20, 1:21 p.m. Adarsh1211


You are typing the command in the IPython interpreter / IPython shell.

Please type the <span style="background-color: rgb(250, 250, 250);">sudo apt-get install python3-pip in your shell / command line (that is before you type ipython in your shell, first execute the apt-get command - this is only for linux)</span>
<span style="background-color: rgb(250, 250, 250);">
<span style="background-color: rgb(250, 250, 250);">
26-10-20, 9:48 a.m. ankitrj.iitb

28-10-20, 7:45 p.m. Adarsh1211
C:\Users\DELL>sudo apt-get install python3-pip
'sudo' is not recognized as an internal or external command,
operable program or batch file.
28-10-20, 8:43 p.m. Adarsh1211

Login to add comment

if you using windows just type the below in cmd prompt and press enter:

python -m pip install numpy

11-05-21, 12:38 a.m.

Log-in to answer to this question.