During import fiona, I am getting following error. Error is different from other user so I asked this question may be it is repeated.
import fiona
Traceback (most recent call last):
File "D:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)File "D:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\fiona__init__.py", line 79, in
from fiona.collection import Collection, supported_drivers, vsi_pathFile "D:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)File "D:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\fiona\collection.py", line 7, in
from fiona.ogrext import Iterator, ItemsIterator, KeysIteratorFile "D:/PROGRA~1/Quantum GIS Lisboa/apps/qgis/./python\qgis\utils.py", line 309, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)ImportError: DLL load failed: The specified module could not be found.
Best Answer
When you read Python Package Index: Fiona
What does it mean ?
That Fiona is not a pure Python module and needs to be compiled from the C/C++ libraries of GDAL and other requirements installed.
As there is no native compiler on Windows:
Therefore, you need to install:
But, there is a problem since you are using the Python version of QGIS. There is already an
osgeo
module installed and used by QGIS (in D:\PROGRA~1\Quantum GIS Lisboa\apps\Python27\lib\site-packages\osgeo). I am not on Windows, so I do not know if you can replace it with the Christoph Gohlke's version (try Dependency Walker as Kersten says)But why install Fiona in the Python version of QGIS, while there is PyQGIS ? Fiona has been made to work in pure Python.