I'd use the recommended ```from osgeo import gdal``` as ```import gdal``` is deprecated.