It looks like you used python2.7 to run syncdb by python to run geoip_update, does the issue resolve itself running the following?
python2.7 manage.py geoip_update
You can check that python and python2.7 are in fact the same command by running which:
which python
which python2.7
I would recommend using virtualenv to maintain project dependencies and avoid python versioning issues.