Installation of GDAL on jupyter notebook

Installation of GDAL in windows machine is always a challenging task. But anaconda environment on python makes it easier to install through conda distribution. In this blog, I will write about the installation of GDAL on jupyter notebook.

Step 1: Create conda environment

conda create --name venv

After creating the virtual environment, by default it will install some of the packages.

Step 2: Installation of gdal

conda install -c conda-forge gdal

Step 3: Installation of ipykernel

conda install -c anaconda ipykernel

Step 4: Add ipykernel and run jupyternotebook

python -m ipykernel install --user --name=venv
jupyter notebook

Congratulations! You successfully installed the GDAL on jupyter notebook.

If you like this blog, please subscribe to my youtube channel: https://www.youtube.com/c/iamtekson

62