How to install numpy on Python 2.7.x

Run your command prompt, and type pip install numpy. Mine look like:

cmd1

Oops!!! says pip is not recognizable command.

First go to C:Python27/Scripts and you can see there lots of .exe files. Mine looks like:

pip_loc

So there is pip.exe within your python folder. To execute this pip.exe from command prompt, You need to add path “C:/Python27/Scripts” to your system variable “path”.

Add “C:/Python27/Scripts” to “path” variable. It looks like:

path

Now your command from command prompt search for pip.exe inside “C:/Python27/Scripts” .

Run your command prompt. Type “pip install numpy” and wait for a while.

numpy

Ok. you are good to go.

Open IDLE(Python GUI). Type import numpy. Now you can use all the functionalities of numpy.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s