[Numpy-discussion] build on windows 64-bit platform
pearu at cens.ioc.ee
Fri Jul 27 11:35:39 EDT 2007
Stefan van der Walt wrote:
> On Fri, Jul 27, 2007 at 04:54:45PM +0200, Pearu Peterson wrote:
>> Stefan van der Walt wrote:
>>> Hi all,
>>> The build is still failing on winXP 64-bit, as shown on the buildbot
>>> with the error
>>> AttributeError: MSVCCompiler instance has no attribute '_MSVCCompiler__root'
>>> Could someone familiar with the MSVC compilers please take a look?
>> I think the problem is in the environment of the buildbot machine
>> `Windows XP x86_64 MSVC`. Basically, I would try setting the following
>> environment variables in this machine:
>> DISTUTILS_USE_SDK and MSSdk
>> Then the build might succeed.
>> For more information, read the code in Python distutils/msvccompiler.py
> Thanks, Pearu -- I'll take a look. Why the uninformative error
> message, though? Isn't distutils supposed to automagically detect the
> MSVC compiler?
I think this is bug in Python distutils/msvccompiler.py.
Let me know if defining these variables work, then we can implement a
workaround or show more informative messages on failure.
Note that one may get such an error only on AMD64 platform, the MSVC
compiler uses other code on Intel machines and that works automagically
More information about the NumPy-Discussion