Using python22.dll with Python 2.5?

Robert Kern robert.kern at gmail.com
Wed Oct 22 10:16:28 EDT 2008


Martin Schneider wrote:
> Hi!
> 
> I'd like to use the numpy library (which runs on Python 2.5) in the same 
> project with another (mandatory) library which needs python22.dll. When 
> I try to compile I get an error similar to "python22.dll not compatible 
> with the current Python version."
> 
> Has anybody an idea how to solve this?

You can't. Binary extension modules compiled for one "minor" version of Python 
cannot be used for another. numpy also requires Python >= 2.3 anyways, so you 
could not recompile it for Python 2.2 in any case. You could use numpy's 
predecessor, Numeric, which still should work with Python 2.2, but you will have 
to compile it yourself; there are no available Python 2.2 Windows binaries.

http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=1351

-- 
Robert Kern

"I have come to believe that the whole world is an enigma, a harmless enigma
  that is made terrible by our own mad attempt to interpret it as though it had
  an underlying truth."
   -- Umberto Eco




More information about the Python-list mailing list