somnathrakshit / geograpy3

Extract place names from a URL or text, and add context to those names -- for example distinguishing between a country, region or city.
https://geograpy3.readthedocs.io
Apache License 2.0
122 stars 12 forks source link

[BUG]locs.db version check needed #18

Closed WolfgangFahl closed 4 years ago

WolfgangFahl commented 4 years ago

If the locs.db is outdated a pip install --upgrade will not fix it. workaround e.g.

rm /Users/wf/Library/Python/3.8/lib/python/site-packages/geograpy/locs.db

by adding version information and checking this behavior could be improved. It won't hit people on first usage though