A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/096717.html below:

How do I update my API?

How do I update my API?Mark blobby Robinson m.1.robinson at herts.ac.uk
Sun Apr 29 12:55:31 EDT 2001
I am trying to write a C extension for a python program. Having just 
upgraded to python 2.1 I find that when I try to import the module I get 
the following error:

WARNING: Python C API version mismatch for module motifExt:
  This Python has API version 1010, module motifExt has version 1007.


I figured I was using an out of date Makefile.pre.in so I found a copy 
of it in the python2.1 source and tried generate a make file using :

make -f Makefile.pre.in boot

but this now generates the following errors:

make[1]: Entering directory `/home/rm3ay/motif/modules'
make[1]: *** No rule to make target 
`/usr/lib/python2.1/config/Makefile', needed by `sedscript'.  Stop.
make[1]: Leaving directory `/home/rm3ay/motif/modules'
make: *** [boot] Error 2


any suggestiongs?

Blobby


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4