iandees / mongosm

An OpenStreetMap importer/map-call for MongoDB
MIT License
72 stars 31 forks source link

Error while Importing #16

Open joesan opened 8 years ago

joesan commented 8 years ago

I'm hitting the following error when I tried to import the osm-pbf file into MongoDB!

MacBook-Pro:mongosm jothi$ python insert_osm_data.py /Users/joe/Desktop/nordrhein-westfalen-latest.osm.pbf Traceback (most recent call last): File "insert_osm_data.py", line 11, in from pymongo import Connection ImportError: cannot import name Connection

iandees commented 8 years ago

Did you install pymongo?

joesan commented 8 years ago

I will give that a try and post the results!

j-bennet commented 8 years ago

I have the same error, with pymongo installed. Pip freeze:

pymongo==3.1.1