Skip to content

citypy error - AttributeError: '_csv.reader' object has no attribute '__next__' #6

@pvanguri16

Description

@pvanguri16

Getting an error when I try to use the command
from citipy import citipy

Already installed citipy using pip comamnd

12 # Incorporated citipy to determine city based on latitude and longitude
---> 13 from citipy import citipy
14
15
C:\Users\213062180\AppData\Local\Continuum\anaconda2\lib\site-packages\citipy\citipy.py in ()
24
25 # discard the headers
---> 26 cities.next()
27
28 # populate geo points into kdtree
AttributeError: '_csv.reader' object has no attribute 'next'

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