[已解决]报错: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

posted @ 2020-09-01 10:48  hank-li  阅读(388)  评论(0编辑  收藏  举报