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