I have a Python 2.5 program with code at

https://www.dropbox.com/s/wh1sgpsd248x85m/PopGen.zip

When I execute this program (python -m gui.mainwindow), I get the error message "Die Ordnungszahl 63 wurde in der DLL "libexpat.dll" nicht gefunden." (sorry, I don't know how to translate "Ordnungszahl" to English, literal translation - "ordering number").

https://www.dropbox.com/s/1osw18xlz8tcjt8/2.png

When I look at the output of the program, I see the error

Error occurred importing qgis; no mapping support will be provided. Error message- DLL load failed with error code 182

enter image description here

This program makes use of the Quantum GIS (qgis) package, which is installed and the path with the DLL is included.

One possible cause of the problem is that there is another, older version of libexpat.dll in system32. But this isn't the case on my machine.

How can I solve this problem?

有帮助吗?

解决方案

Thanks all for the help. Installing a different version of QGIS solved the problem.

其他提示

It looks like the issue is an incompatible/ old version of libexpat.dll or in my case, no copy of it at all. I cheated and downloaded a copy of the DLL to the relevant Windows system folder.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top