windows install pandas

Asheesh Laroia edited this page Dec 13, 2012 · 1 revision

Our recommendation

On Windows, to get Pandas running, you have to install NumPy first.

To install NumPy:

Then, to install Cython:

Finally, you should install a graphing library to generate visual charts:

Test it

To make sure the process worked, open up a Python interpreter prompt. You should see this familiar prompt:


In that prompt, type the following:

>>> import numpy
>>> print numpy.__version__

You should see it print '''1.6.1'''.

To make sure cython is installed properly, you can do something similar:

>>> import Cython
>>> print Cython.__version__

You should see it print '''0.17.2'''.

To make sure matplotlib is installed properly, type the following into the Python interpreter:

>>> import matplotlib
>>> print matplotlib.__version__

You should see it print '''1.2.0'''.

Download pandas from git

Now for the exciting part: we'll download the latest version of pandas, and configure it to run on your system.

To do that, click Start->Run->Git->Git Bash.

In that prompt, type the following:

mkdir -p ~/projects
cd ~/projects
git clone
cd pandas

With those commands, you are downloading the latest version of pandas.

Enter these commands to "build" it:

python build_ext --inplace
python build

Now, make sure it worked by running these commands:


In the Python prompt, type this:

>>> import pandas
>>> print pandas.__version__

You should see a version number starting with 0.10.


Now you have a Python environment set up to do high performance numeric calculations (with NumPy), build extensions (with Cython), and generate data visualizations (with matplotlib)!

[« Back to laptop setup](laptop setup)