DEV Community

Tek Bahadur Kshetri
Tek Bahadur Kshetri

Posted on

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

Step 3: Installation of ipykernel

conda install -c anaconda ipykernel
Enter fullscreen mode Exit fullscreen mode

Step 4: Add ipykernel and run jupyternotebook

python -m ipykernel install --user --name=venv
jupyter notebook
Enter fullscreen mode Exit fullscreen mode

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

Discussion (0)