All Apps and Add-ons

Assistance with pygeoip package troubleshooting

OMohi
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 setup.py install
running install
running build
running build_py
running install_lib
byte-compiling /usr/lib/python2.4/site-packages/pygeoip/init.py to init.pyc
File "/usr/lib/python2.4/site-packages/pygeoip/init.py", line 105
iohandle = BytesIO if PY3 else StringIO
^
SyntaxError: invalid syntax

Tags (2)
0 Karma

tiwilliam
Engager

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?

Get Updates on the Splunk Community!

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...

Splunk App Dev Community Updates – What’s New and What’s Next

Welcome to your go-to roundup of everything happening in the Splunk App Dev Community! Whether you're building ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco + Splunk! We’ve ...