C API mismatch with 2.0

Fredrik Lundh fredrik at effbot.org
Sun Dec 10 17:26:11 EST 2000


John J. Lee wrote:
> I compiled Michael Miller's _tableio.c (the C extension bit of TableIO.py)
> on windows using cygwin (with Robert Kern's help), and got the following
> warning about the C API.  I used the python20.lib from the same
> distribution of python 2.0 that I'm trying to import TableIO into.
>
> Can somebody tell me what's going on?  Where did this API version number
> come from for _tableio?

API version 1007 is 1.5.2, version 1009 is 2.0.

looks like you failed to recompile (or install) the module.  to
see which file you're loading, use:

>>> import _tableio
>>> print _tableio.__file__

</F>

<!-- (the eff-bot guide to) the standard python library:
http://www.pythonware.com/people/fredrik/librarybook.htm
-->







More information about the Python-list mailing list