Installing Geopandas on Windows

Nayane Maia
3 min readNov 19, 2020

--

The installation of the geopandas library on windows has become a problem for users, with various conflicting information available. Thinking about it, I decided to make a compilation of ways that can help you. If you want to follow the path that worked for me, I suggest you jump to option number three.

Option 1: Straight through the anaconda prompt

In my machine this option didn’t work very well, and many people faced the same problem, but it doesn’t cost you anything to try.

pip install geopandas

or

conda install -c conda-forge geopandas

Option 2: Through anaconda environment

This option usually works and it is more practical and easy. You need to open the Anaconda Navigator, once opened you go in Environments, how:

As marked on the image, you select “all” and search by geopandas, then just select that the library will be downloaded.

Option 3: Creating a pipwin environment

This was the way that worked for me, the installation problem at the anaconda prompt was solved by creating a pip win environment in my windows, and installing one library at a time in sequence to receive the geopandas. The sequence needs to be exactly this, if you change the sequence it may not work, how:

pip install wheel
pip install pipwin
pipwin install numpy
pipwin install pandas
pipwin install shapely
pipwin install gdal
pipwin install fiona
pipwin install pyproj
pipwin install six
pipwin install rtree
pipwin install geopandas

If you have tried to install the geopandas by pip or conda before, uninstall it before following this script. After that you can use the library normally.

Option 4: Downloading directly to your computer (raw form)

If the above options have not worked, you will need to download the libraries directly to your computer, you can find the download on this page, and the tutorial on how to install you find in this video below.

Finally…

I hope to have helped you in your process of installing this library. The installation is very particular to each computer, so it may be that what worked for me didn’t work for you, thinking about that, I made this compilation of options for you test.

If you have any questions, you can find me on LinkedIn, GitHub or e-mail for more information.

--

--

Nayane Maia

Agronomist and Data Scientist, with the application of advanced statistical modeling techniques in agriculture