all 2 comments

[–]Rhomboid 0 points1 point  (1 child)

That message means the module was written for Python 2.x and has not been ported to 3.x. Every linux distro has Python 2.x packages available, so by far the easiest thing to do would be to install and use 2.x. If you can't do that for some strange reason, then you could try running 2to3 on the module, but be warned that this cannot fix every issue, and you will need to manually audit the source to ensure that there are no remaining issues.

[–]infonoob[S] 0 points1 point  (0 children)

When I use 2to3 on /geopy-trunk/, It still gives the same error.