问题
My code needs both of these libraries but when I import them like that:
from shapely.geometry import Point
from shapely.geometry.polygon import Polygon
import gdal
I get an error saying that gdal can not be imported. Everything works well when I run them separately. I would be thankful for any help. P.S. I am using Python 3.6
来源:https://stackoverflow.com/questions/52438313/why-import-shapely-and-import-gdal-do-not-work-together