我在 Windows 10 中使用 ipython Jupyter 笔记本。我在 cmd 中使用 pip install geohash 安装了 Geohash。当我尝试使用 geohash(import geohash) 时出现以下错误:
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-7-840910eb012f> in <module>()
----> 1 import geohash
ImportError: No module named 'geohash'
再次检查 geohash 是否安装,然后在我尝试重新安装时出现以下消息:
C:\Users\Himal Acharya>pip install geohash
Requirement already satisfied (use --upgrade to upgrade): geohash in c:\users\himal acharya\anaconda3\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): docutils>=0.3 in c:\users\himal acharya\anaconda3\lib\site-packages (from geohash)
我再次卸载 geohash。我从 github 手动安装 geohash 但出现同样的问题:导入错误