Problem building Python extension
sjmachin at lexicon.net
Sat Feb 14 09:51:56 EST 2009
On Feb 14, 7:04 pm, martijnsteenw... at gmail.com wrote:
> On 13 feb, 12:45, Christian Heimes <li... at cheimes.de> wrote:
> > martijnsteenw... at gmail.com wrote:
> > > Thanks a lot for your reply. I downloaded & installed Visual C# 2008
> > > express, but unfortunately this doesn't change anything in running the
> > > setup file. Unfortunately, still no pyd file is produced...
> > > Did I something wrong?
> > Yeah, you installed the C# environment. Python is written in C, so you
> > have to get Visual Studio C++ 2008. However a recent version of MinGW32
> > is sufficient to build most extensions.
> > Christian
> Hi Christian,
> Thanks for your reply. In mean time, I discovered the C++ thing
> already ;-).
> Now I installed MinGW, but still the same happens. If I run the setup
> file, the same output comes on the command line and no pyd file is
> created... GRRR
> Any suggestions?
AFAIK it will attempt to use a compiler other than the one that Python
was compiled with only if specifically directed to e.g. with --
compiler=mingw32 in the command line when running setup.py.
More information about the Python-list