Geohash Module installed but import error

Himal Acharya picture Himal Acharya · Apr 14, 2016 · Viewed 8.7k times · Source

I am using ipython Jupyter notebook in Windows 10. I have installed Geohash using pip install geohash in cmd. When I try to use geohash( import geohash) following error comes:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-7-840910eb012f> in <module>()
----> 1 import geohash

ImportError: No module named 'geohash'

Again check whether geohash installed or not then following message came while I try to reinstall:

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)

Again I uninstall geohash. I manually install geohash from github but same problem occur : import error

Answer

Jonathan Hilgart picture Jonathan Hilgart · Apr 24, 2017
pip install python-geohash

This should fix it.