Installation procedure for numpy and other python-3.4 packages on ubuntu 14.04

I am new to ubuntu and installed ubuntu 14.04 32 bit on my LENOVO hinkpad T410 machine with windows 7 two days ago but since then trying download and install python-3.4 packages (NUMPY, SCIPY) on ubuntu and not getting results. I have Downloaded IDLE through ubuntu software centre but numpy neither run for me from ubuntu software centre nor from commands.

 sudo apt-get install python-numpy

it gives me:

 E: Unable to locate package python-numpy_1.8.1-1ubuntu1_i386 E: Couldn't find any package by regex 'python-numpy_1.8.1-1ubuntu1_i386'

I also tried:

 pip install python-numpy

but it results:

 Could not find any downloads that satisfy the requirement python-numpy Cleaning up... No distributions at all found for python-numpy Storing debug log for failure in /home/sibte/.pip/pip.log

Any guide for the very beginners to ubuntu.

3

3 Answers

From the terminal run:

sudo apt-get install python3-numpy

This package contains Numpy for Python 3. And as you might expect, there is also a package in the Ubuntu Software Center for Ubuntu 14.04 called python3-scipy. If you have python3-numpy and python3-scipy installed and you want to use pylab for plotting graphs, then you'll also need to install python3-matplotlib.

3

I first installed pip for python 3.

sudo apt-get install python3-pip

And then installed numpy with pip3.

sudo pip3 install numpy

This could run too,

sudo apt-get -y install python-numpy
2

You Might Also Like