Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install from pyPi failing #5

Open
bryonjacob opened this issue Apr 24, 2018 · 2 comments
Open

install from pyPi failing #5

bryonjacob opened this issue Apr 24, 2018 · 2 comments

Comments

@bryonjacob
Copy link

I just tried to install mzgeohash from pypi, and I got the following

$ pip install mzgeohash
Collecting mzgeohash
  Using cached https://files.pythonhosted.org/packages/77/54/48e792a0fa9ff39550feed21c2c4e4bf583b2862a96e879bd1e3969c1e09/mzgeohash-1.0.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/3y/xcklh6_96zz_f9d4bmk86p0h0000gn/T/pip-install-zus2aeos/mzgeohash/setup.py", line 3, in <module>
        import mzgeohash
      File "/private/var/folders/3y/xcklh6_96zz_f9d4bmk86p0h0000gn/T/pip-install-zus2aeos/mzgeohash/mzgeohash/__init__.py", line 1, in <module>
        from geohash import encode, decode, adjacent, neighbors, neighborsfit
    ModuleNotFoundError: No module named 'geohash'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/3y/xcklh6_96zz_f9d4bmk86p0h0000gn/T/pip-install-zus2aeos/mzgeohash/

my version info:

$ python --version
Python 3.6.5
$ pip --version
pip 10.0.1 from /Users/bryon/.virtualenvs/adhoc/lib/python3.6/site-packages/pip (python 3.6)

Checking it out locally and installing had the same error - but with a one-line change in the __init__.py file fixed it - I made the change in a fork here:

bryonjacob@ce027d5

LMK if I should submit a pull request - thanks!

@shahbazahmed1269
Copy link

I am facing the same issue. Below is the version info:

$ python --version
Python 3.4.3
$ pip --version
pip 18.1

This has to be fixed, but it seems this library is not being maintained of late.

@agile
Copy link

agile commented Jul 31, 2019

@jason-h-simplifi has a fix for this https://github.com/jason-h-simplifi/mapzen-geohash and repackaged as https://pypi.python.org/pypi/mz2geohash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants