[Xapian-discuss] Import error on Windows

David Sauve dnsauve at gmail.com
Thu Oct 14 21:02:52 BST 2010

Ok, got my corrupted binary issues sorted out by having someone download the file for me and forward me the extracted contents.  Bizarre, but fixed.

Now, I'm running into another issue, this time with the Python bindings.  I've installed the MSVC distrib package and checked that site-packages has `xapian.py` and a folder called `xapian` with three files in it: `__init__py`, `_xapian.pyd` and `zlib1.dll`.

If I try to `import xapian` I get a traceback indicating there was a problem loading a DLL:

>>> import xapian
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\xapian\__init__.py", line 6, in <module>
    import _xapian
ImportError: DLL load failed: The specified module could not be found.

Any thoughts on where to go from here?


More information about the Xapian-discuss mailing list