/    /  NumPy – Installation

NumPy – Installation:

In this tutorial, we will understand that how to do the installation of Numpy on both linux and windows platforms.

It is best to use the pre-built packages to install the Numpy. Otherwise, you can install the python distributions like Anaconda, python(x,y), Pyzo for installing all necessary packages which ever needed.

Installing Numpy on Linux Platform:

To install Numpy on Linux platform, we need have the Python already installed.

In most Linux platforms, Python would come by default. If not, you can use the Yum utility to install python and other packages which ever needed with below command on RedHat or cent OS.

$ yum install python-numpy

Note: Use SUDO, if you are not the root user.

For Ubuntu & Debian systems Use the below command to get all the necessary packages installed.

sudo apt-get install python-numpy python-scipy python-matplotlib ipython ipython-notebook python-pandas python-sympy python-nose

Installing Numpy on Windows Platform:

To install Numpy on Windows platform, we need have the Python already installed.

If not please go through Python installation process from the Python tutorial.

Once we have the Python installed on the windows system, we need to make sure that the Path to Python was set in environmental variables.

There is package manager or installer name called pip. Just give the below command to install any package.

pip install numpy

Once after the installation, you can either connect to python in command by giving the Python command or you can start the “IDLE (Python GUI)” from start button which is GUI tool.

Happy Programming !!!!!! 🙂