Today’s post is a summary of how to install PySAL on Windows for OSGeo4W Python.

The most important resource was

In the OSGeo4W Shell run:

C:\Users\anita_000\Desktop>curl | python

Update: Note that has gone down since I posted this. See for more info.

Then download to the Desktop and run:


When pip is ready, install PySAL:

C:\Users\anita_000\Desktop>pip install pysal

Test the installation:

Python 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] on win 32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysal