Need help installing fiona and geopandas for python in Windows 10 - getting can't load requested DLL error

Derek Eden

I am trying to install fiona and geopandas for python on Windows 10 and keep running into an error "ERROR 1: Can't load requested DLL".

I know this question is similar to other questions that have been asked, but I have followed the steps in multiple answers and tutorials and still can't seem to get this to work.

The closest I got was using the steps outlined in this tutorial : https://geoffboeing.com/2014/09/using-geopandas-windows/

and are summarized as follows:

  1. installed the .whl files for rtree, pyproj, shapely, gdal, geopandas, fiona from https://www.lfd.uci.edu/~gohlke/pythonlibs/

    • Rtree-0.8.3-cp37-cp37m-win_amd64.whl
    • pyproj-2.2.1-cp37-cp37m-win_amd64.whl
    • GDAL-3.0.0-cp37-cp37m-win_amd64.whl
    • geopandas-0.5.0-py2.py3-none-any.whl
    • Fiona-1.8.6-cp37-cp37m-win_amd64.whl
    • Shapely-1.6.4.post2-cp37-cp37m-win_amd64.whl
  2. navigated to download folder and used pip install to install GDAL wheel

  3. added the osgeo path to my windows user Path environment variable

environment variable screen

  1. used pip install to install remaining wheels (geopandas last), everything installed without errors
  2. As a check, I ran gdalinfo --help-general and get the following output:

gdalinfo output

This is where I get the "ERROR 1: Can't load requested DLL:" error. It says it cannot find the specified module "ogr_FileGDB.dll". The weird thing is, that .dll is actually in the location that it is looking in???

dll location

Also, in python shell, when trying to import fiona or geopandas I get the following errors:

import errors

This is beyond my level of troubleshooting...would really appreciate if anyone could get this thing working for me!!!!

FYI - running Python 3.7.3, Windows 10, pip is updated.

Lastly and potentially important (not sure how it plays in?) I already have a GDAL_DATA system variable defined, and also (maybe incorrectly?) also tried adding the osgeo path to my system path variable:

system environment variable

Derek Eden

I was using a GDAL version that was not compatible with Fiona and subsequently causing issues with geopandas.

I uninstalled GDAL 3 and installed GDAL 2.4.1 and it worked fine, as cgohlke suggested.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can't load package %s error while installing a package

From Dev

Can't load a Haskell dll on Windows

From Dev

Installing MIT Scheme on Windows 10 -- 'Requested Allocation is too large'

From Dev

Import error geopandas, fiona

From Dev

Error Installing PyInstaller for Python 3.7 on Windows 10

From Dev

Need help installing adspy module in python

From Dev

import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

From Dev

Error while installing dlib for python3 on Windows 10

From Dev

Npm Error: Can't find Python executable "python", you can set the PYTHON env variable on Windows 10

From Dev

Error installing Twisted on Windows 10, Python 3.8.0

From Dev

Installing dlib with python 3.8 windows 10 error

From Dev

Python Opencv DLL load failed - Windows 10

From Dev

Error installing Bitcoinlib | Python3, Windows10

From Dev

Can any one help me desipher this error that I am getting while trying to open a port with a dll

From Dev

I need help installing Linux Mint 18 on a computer with Windows 10

From Dev

Need help installing program; can't get `make` to work in src directory

From Dev

Can't boot into Windows 10 after installing Ubuntu 15.04

From Dev

GRUB can't load Windows 10

From Dev

Can't install htmlhelp.exe (HTML Help Workshop) because of error on Windows 10

From Dev

Need help getting my Angular Module to load: Uncaught Error: [$injector:modulerr]

From Dev

Error installing Rails on Windows 10

From Dev

Need help in installing blpapi and configuring Python Interpreter

From Dev

Need help installing this software

From Dev

Getting Can't load SQLite3.dll! not found error with Autohotkey

From Dev

How can you fix this error while installing PIP on Windows 10?

From Dev

Can anyone help me installing PYPY on windows?

From Dev

Error installing scipy in Python 3.10 on Windows10

From Dev

need help installing a python package which uses Cython and Boost c++ on Windows 10

From Dev

Setup.py error when installing dlib on Windows 10 [PYTHON]

Related Related

  1. 1

    Can't load package %s error while installing a package

  2. 2

    Can't load a Haskell dll on Windows

  3. 3

    Installing MIT Scheme on Windows 10 -- 'Requested Allocation is too large'

  4. 4

    Import error geopandas, fiona

  5. 5

    Error Installing PyInstaller for Python 3.7 on Windows 10

  6. 6

    Need help installing adspy module in python

  7. 7

    import _ssl error,DLL load failed ,Python 37 Anaconda Windows 10

  8. 8

    Error while installing dlib for python3 on Windows 10

  9. 9

    Npm Error: Can't find Python executable "python", you can set the PYTHON env variable on Windows 10

  10. 10

    Error installing Twisted on Windows 10, Python 3.8.0

  11. 11

    Installing dlib with python 3.8 windows 10 error

  12. 12

    Python Opencv DLL load failed - Windows 10

  13. 13

    Error installing Bitcoinlib | Python3, Windows10

  14. 14

    Can any one help me desipher this error that I am getting while trying to open a port with a dll

  15. 15

    I need help installing Linux Mint 18 on a computer with Windows 10

  16. 16

    Need help installing program; can't get `make` to work in src directory

  17. 17

    Can't boot into Windows 10 after installing Ubuntu 15.04

  18. 18

    GRUB can't load Windows 10

  19. 19

    Can't install htmlhelp.exe (HTML Help Workshop) because of error on Windows 10

  20. 20

    Need help getting my Angular Module to load: Uncaught Error: [$injector:modulerr]

  21. 21

    Error installing Rails on Windows 10

  22. 22

    Need help in installing blpapi and configuring Python Interpreter

  23. 23

    Need help installing this software

  24. 24

    Getting Can't load SQLite3.dll! not found error with Autohotkey

  25. 25

    How can you fix this error while installing PIP on Windows 10?

  26. 26

    Can anyone help me installing PYPY on windows?

  27. 27

    Error installing scipy in Python 3.10 on Windows10

  28. 28

    need help installing a python package which uses Cython and Boost c++ on Windows 10

  29. 29

    Setup.py error when installing dlib on Windows 10 [PYTHON]

HotTag

Archive