Skip to content Skip to sidebar Skip to footer

Python - Getting "typeerror: Argument Of Type 'crs' Is Not Iterable" With Osmnx Package

I'm getting a strange type error with Osmnx that I haven't been able to find any other threads or information on. I have used this library on a different machine in the past, and w

Solution 1:

Looks like Geopandas 0.7 updated their CRS object type to be a pyproj.CRS instead of a string. The osmnet library was having a similar issue.

You can resolve this by reverting to an older version of geopandas:

conda install geopandas=0.6.3 -c conda-forge

And maybe submit a bug report to the osmnx developers as well!

Solution 2:

Using osmnx==0.14.1 made it work for me.

Post a Comment for "Python - Getting "typeerror: Argument Of Type 'crs' Is Not Iterable" With Osmnx Package"