Database Reference
In-Depth Information
In case you are wondering what is going on with the previous command
lines:then
virtualenv
isatoolthatwillbeusedtocreateisolatedPython
environments, and you can find more information about this tool at
ht-
managementsystemusedtoinstallandmanagesoftwarepackageswritten
in Python.
If you are using Windows, follow these steps:
1. TheeasiestwaytohavePythonandallthelibrariesneededfortherecipes
of this chapter is to use
OSGeo4W
, a popular binary distribution of open
source geospatial software for Windows. You can download it from
ht-
2. On my Windows box, the OSGeo4W shell, at the time of writing this topic,
comeswithPython2.7.4,GDAL1.10.1Pythonbindings,simplejson,psycop-
g2, and numpy. You will only need to install geopy.
3. TheeasiestwaytoinstallgeopyandtoeventuallyaddmorePythonlibraries
totheOSGeo4Wshellistoinstall
setuptools
and
pip
byfollowingthein-
structions foundat
http://www.pip-installer.org/en/latest/installing.html
.
Open
the OSGeo4W shell and just enter the following commands:
> python ez_setup.py
> python get-pip.py
> pip install geopy