I am trying to run some notebooks that make use of gdal library. I have followed instructions to install it, sometimes the step 5 works well and other does not,
showing this error message: ModuleNotFoundError: No module named 'gdal'
Step 1
$ apt update
Step 2
$ apt install libgdal-dev -y
Step 3
$ apt install python-gdal -y
Step 4
$ apt install python-numpy python-scipy -y
Step 5
import gdal # fingers crossed!
I have installed gdal
library working well on my machine, but I understand, under colaboratory, it install gdal
on the server.
Any suggestions?