Sage: How to import a graph from a shapefile into Sage?
I would like to import a graph and afterwards use functions from the networkx library in the Sage Notebook. Python is totally new for me and I have not that much experience with programming. How to transfer a shapefile into Sage? I tried
import networkx as nx g=nx.read_shp(r‘D:\Useres\...\ver06_l.shp’)
ImportError: read_shp requires OGR: http://www.gdal.org/
Unfortunately, this link doesn’t help me. Thank you in advance