published on 03.03.2022

In this post, I’ll share how to install geopandas and some other gis related packages on Windows. If you are on Mac or Linux you can probably just pip install those without any issue.

I usually had to do a google search every time I wanted to install these packages on Windows environment. Of course, you can always use conda to make things simpler. Anyway, let’s get to the point.

As always start with a new virtual environment in your project directory.

virtualenv venv

You can try pip install geopandas but you’ll probably get errors about some packages.

Here, we can find the dependencies of geopandas. Among them, Fiona is the one that causes problems and Fiona is dependent on GDAL which is another issue. We are going to install these manually.

Find the wheels you need from this site: gohlke.

You should download the ones that’s matching with your python distribution. For example if you are using Python 3.7.9 on a x64 system, download ...cp37‑cp37m‑win_amd64.whl.

Then install these wheels:

pip install GDAL‑3.4.1‑cp37‑cp37m‑win_amd64.whl
pip install Fiona-1.8.21-cp37-cp37m-win_amd64.whl

You probably, only need to install GDAL and Fiona. Other dependencies should be automatically installed when you try to pip install geopandas. If you get any error you can always install the relevant wheel.

That’s it.

Published on 03.03.2022 by Mert Bakır with commit defdccd.
#gis #python
published on 10.07.2022

Previously, I’ve published a blog post about deploying static content on heroku with basic authentication. The main purpose was to get basic auth for a freely hosted static website. In that post, we hosted the source code on GitLab and configured a CI/CD pipeline to render the static content …

published on 28.05.2022

Each git commit has a field called Author which consists ‘’ and ‘’. We usually set these variables once, after installing git, with git config --global so that each repo gets the variables from the global definition. We can also set them locally for a …

published on 25.05.2022

In this post, I’ll first walk through hosting static content with basic authentication. Then, we’ll look into deploying to Heroku using GitLab Pipelines, more specifically deploying a certain sub-directory within the project instead of pushing the whole project. Also, I’ll share …

published on 17.04.2022
edited on 15.07.2022

Önceki bölümde, markdown formatını LaTeX formatına dönüştürmek için kullanılan Pandoc yazılımından bahsetmiştik. Şimdi konuyu bir adım daha ileri taşıyıp ve bookdown’a geçiyoruz. Bookdown; Rmarkdown kullanarak teknik dökümanlar, kitaplar yazabilmemizi sağlayan, Yihui Xie tarafından yazılmış …

published on 10.04.2022

I’ve been using WSL-2 on Windows for over a year. It’s very useful because some Python packages are just a headache to install on Windows. Also, docker. It’s just better on Linux. Yet, WSL-2 can also be problematic. I remember trying a dual-boot setup when things just went way too …