Ubuntu – how to install numpy for python3

numpypython3software installation

I need help with installing numpy to Ubuntu 16.04.
after:

$ pip3 install numpy
come up always:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.5/dist-packages/numpy'

What to do? How can i install numpy?

Best Answer

From the terminal run:

sudo apt-get install python3-numpy

This package contains Numpy for Python 3.

For scipy:

sudo apt-get install python3-scipy

For for plotting graphs use pylab:

sudo apt-get install python3-matplotlib
Related Question