How to install numpy with python3 , pip3 on ubuntu18.
--
demo@ubuntu:~$ python --version
Python 3.8.7
demo@ubuntu:~$ sudo apt-get install numpy
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package numpy
demo@ubuntu:~$ sudo apt install python3-pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.4).
0 upgraded, 0 newly installed, 0 to remove and 198 not upgraded.
demo@ubuntu:~$ pip -V
Command 'pip' not found, but can be installed with:
sudo apt install python-pip
demo@ubuntu:~$ pip3 -V
pip 9.0.1 from /usr/lib/python3/dist-packages (python 3.6)
demo@ubuntu:~$ pip3 install numpy
Collecting numpy
Downloading https://files.pythonhosted.org/packag... (13.4MB)
100% |████████████████████████████████| 13.4MB 81kB/s
Installing collected packages: numpy
Successfully installed numpy-1.19.5