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-numpyit 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-numpybut 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.logAny guide for the very beginners to ubuntu.
33 Answers
From the terminal run:
sudo apt-get install python3-numpyThis 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.
3I first installed pip for python 3.
sudo apt-get install python3-pipAnd then installed numpy with pip3.
sudo pip3 install numpy This could run too,
sudo apt-get -y install python-numpy 2