On 6/15/06, Chris Botos <[EMAIL PROTECTED]> wrote:
> 3)  I downloaded and installed:
> .NET Framework SDK Version 1.1
> Visual C++ 2005 Express Edition, that first installs .NET Framework 2.0
>   (note that I could not get to a download for the 2003 version on
> Microsoft's site and the only other download site I found was at
> softpedia, and the download link there is broken )

I've only skimmed your post briefly, but this is likely your problem.
Python extensions cannot be built with Visual C++ 2005 (incompatible C
runtime), so this doesn't work. You need the Visual C++ Toolkit
Edition, but MS no longer seem to supply this :-( If you can get
someone who has a copy to send it to you, that would be one option -
but it's a 32MB file, and I don't know the redistribution conditions,
it's probably not allowed, so you may have problems there).

The other option is to install Mingw (from www.mingw.org), and build
using setup.py build --compiler=mingw32. This works fine, unless your
extension code uses MSVC specific extensions. The instructions in the
Python docs are a little out of date, I believe. With Python 2.4, you
shouldn't need to do anything more than install mingw, make sure gcc
is on your path, and run setup.py as above. You can even edit the
distutils config file (I can't remember its location offhand, sorry)
to specify that distutils should use mingw by default.

Hope this helps,
Paul.
_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to