Skip to content

Hello World Error #11

@mooreed

Description

@mooreed

After performing a "pip install"

Open the python REPL and copy paste in the example in the README.md

import reverse_geocoder as rg
coords = (32.774185,-96.800618)
results = rg.search(coords)
Traceback (most recent call last):
File "", line 1, in
File "/Library/Python/2.7/site-packages/reverse_geocoder/init.py", line 194, in search
return rg.query(geodetic_in_ecef(geo_coords))
File "/Library/Python/2.7/site-packages/reverse_geocoder/init.py", line 174, in geodetic_in_ecef
lat = geo_coords[:,0]
IndexError: too many indices

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions