1. 程式人生 > >python3 geohash 導入錯誤及解決

python3 geohash 導入錯誤及解決

.py sta pip tps XA 導入錯誤 ash ins local

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

# geohash的使用方法

https://blog.csdn.net/qq_24452475/article/details/79184362

python3 geohash 導入錯誤及解決