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

# geohash的使用方法

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


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM