On Thu, Apr 3, 2008 at 12:50 PM, Sergey A. Lipnevich <sergey@optimaltec.com> wrote:
zooko wrote:
Most likely, but zope.interface on Windows would require Visual Studio 2003. I tried easy_install but couldn't complete it.
The error message that says "Python was built with Visual Studio version 7.1, and extensions need to be built with the same version of the compiler" isn't true.
My console message was explicitly about Visual Studio 2003 (probably because it's Python 2.5), and the machine had Visual Studio 2005 (and 2008) installed so the message was not without merit ;-).
Install gcc (I recommend cygwin, but mingw will also work), and put the following stanza into your distutils config file:
Isn't it a bad idea to mix MSVC-built Python and Cygwin GCC-built extensions in the same process?
In this particular case, it's OK: this extension does not use system resources (memory, files...) from the C runtime library. -- Amaury Forgeot d'Arc