All Apps and Add-ons

Assistance with pygeoip package troubleshooting

Path Finder

I am getting the following error when I try to install pygeoip package needed to support google maps app.

Can someone assist with troubleshooting guidelines.

[root@denqca3log02 pygeoip-0.2.6]# python install
running install
running build
running build_py
running install_lib
byte-compiling /usr/lib/python2.4/site-packages/pygeoip/ to init.pyc
File "/usr/lib/python2.4/site-packages/pygeoip/", line 105
iohandle = BytesIO if PY3 else StringIO
SyntaxError: invalid syntax

Tags (2)
0 Karma


I'm the maintainer of pygeoip and I can see you are running Python 2.4. pygeoip support Python 2.5 - 3.3, is it possible for you to upgrade your Python version?

*NEW* Splunk Love Promo!
Snag a $25 Visa Gift Card for Giving Your Review!

It's another Splunk Love Special! For a limited time, you can review one of our select Splunk products through Gartner Peer Insights and receive a $25 Visa gift card!


Or Learn More in Our Blog >>