[已解决]报错:python3 geohash 导入错误

方法一:pip3 install python-geohash

方法二:

1.安装 pip3 install geohash

2.进入包的下载目录 /usr/local/lib/python3.5/dist-packages

3.mv Geohash geohash

4.cd geohash

修改__init__.py文件from geohash import decode_exactly, decode, encode

修改为:from .geohash import decode_exactly, decode, encode

原文地址:https://www.cnblogs.com/hankleo/p/13594888.html