I try to import ogr
from osgeo
from osgeo import ogr
but I get the following error
ModuleNotFoundError: No module named 'osgeo'
Before I installed GDAL
, if I do:
pip3 install gdal
Requirement already satisfied: gdal in /Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages (2.4.1)
which pip
/anaconda3/bin/pip
which python
/anaconda3/bin/python