I am very much a beginner at Python and am trying to get RSPython to work
for me to solve a specific problem with geocoding addresses using the geopy
library for Python (which appears to be an easy way to geocode large numbers
of addresses).
While I can load up the RSPython library just fine, when I try to load the
geopy module using the importPythonModule('geopy') command, I get an
error
that
"Error in Python call: can't decompress data; zlib not available"
Then when I try to load zlib using the same command, I get the error
"Error in Python call: /usr/lib/python2.5/lib-dynload/zlib.so: undefined
symbol: PyExc_ValueError"
>From the python command line I am able to load the geopy module with no
problems and succesfully ran a script using it.
I am running Kubuntu Hardy 64 bit with up-to-date packages of R and python.
I tried installing python 2.4 packages, but that did not solve the problem
(although maybe RSPython doesn't know of their existance).
Any help that someone can provide would be greatly appreciated.
Ted Rosenbaum
Yale University
Graduate Student-Economics
[[alternative HTML version deleted]]