ctypes error on Windows
Fredrik Lundh
fredrik at pythonware.com
Fri Sep 5 02:47:05 EDT 2008
Fredrik Lundh wrote:
>> I do have the tidy.dll installed (if I didn't, I couldn't even import
>> the tidy module).
>
> typing the following into the Python interpreter might give you some
> more clues:
>
> >>> import _tidy
> >>> _tidy.__file__
> >>> dir(_tidy)
or not, since ctypes is involved.
have you checked for multiple copies of tidy.dll?
if you have MSVC on your machine, try using "dumpbin /exports" on the
DLL to check that it really exports the symbols the binding expects.
</F>
More information about the Python-list
mailing list