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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...