Skip to main content
added 106 characters in body
Source Link
gene
  • 55.4k
  • 3
  • 113
  • 191

When you read Python Package Index: Fiona

Fiona requires Python 2.6, 2.7, 3.3, or 3.4 and GDAL/OGR 1.8+. To build from a source distribution you will need a C compiler and GDAL and Python development headers and libraries (libgdal1-dev for Debian/Ubuntu, gdal-dev for CentOS/Fedora).

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:

Windows Binary installers are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona and coming eventually to PyPI.

Therefore, you need to install:

  1. first the gdal (osgeo) module of Christoph Gohlke
  2. then his Fiona version, compiled for the libraries of 1)

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.

When you read Python Package Index: Fiona

Fiona requires Python 2.6, 2.7, 3.3, or 3.4 and GDAL/OGR 1.8+. To build from a source distribution you will need a C compiler and GDAL and Python development headers and libraries (libgdal1-dev for Debian/Ubuntu, gdal-dev for CentOS/Fedora).

What does it mean ?

That Fiona is not a pure Python module and needs to be compiled from the C/C++ libraries of GDAL

As there is no native compiler on Windows:

Windows Binary installers are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona and coming eventually to PyPI.

Therefore, you need to install:

  1. first the gdal (osgeo) module of Christoph Gohlke
  2. then his Fiona version, compiled for the libraries of 1)

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.

When you read Python Package Index: Fiona

Fiona requires Python 2.6, 2.7, 3.3, or 3.4 and GDAL/OGR 1.8+. To build from a source distribution you will need a C compiler and GDAL and Python development headers and libraries (libgdal1-dev for Debian/Ubuntu, gdal-dev for CentOS/Fedora).

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:

Windows Binary installers are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona and coming eventually to PyPI.

Therefore, you need to install:

  1. first the gdal (osgeo) module of Christoph Gohlke
  2. then his Fiona version, compiled for the libraries of 1)

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.

Source Link
gene
  • 55.4k
  • 3
  • 113
  • 191

When you read Python Package Index: Fiona

Fiona requires Python 2.6, 2.7, 3.3, or 3.4 and GDAL/OGR 1.8+. To build from a source distribution you will need a C compiler and GDAL and Python development headers and libraries (libgdal1-dev for Debian/Ubuntu, gdal-dev for CentOS/Fedora).

What does it mean ?

That Fiona is not a pure Python module and needs to be compiled from the C/C++ libraries of GDAL

As there is no native compiler on Windows:

Windows Binary installers are available at http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona http://www.lfd.uci.edu/~gohlke/pythonlibs/#fiona and coming eventually to PyPI.

Therefore, you need to install:

  1. first the gdal (osgeo) module of Christoph Gohlke
  2. then his Fiona version, compiled for the libraries of 1)

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.