[Numpy-discussion] Numpy-vendor vcvarsall.bat problem.

Jaime Fernández del Río jaime.frio at gmail.com
Fri Aug 7 09:29:36 EDT 2015


On Fri, Aug 7, 2015 at 2:33 AM, David Cournapeau <cournape at gmail.com> wrote:

> Which command exactly did you run to have that error ? Normally, the code
> in msvc9compiler should not be called if you call the setup.py with the
> mingw compiler as expected by distutils
>

FWIW, the incantation that works for me to compile numpy on Windows with
mingw is:

python setup.py config --compiler=mingw32 build --compiler=mingw32 install

but I am not sure I have ever tried it with Python 3.

I think my source for this was:

http://nipy.sourceforge.net/nipy/devel/devel/install/windows_scipy_build.html

Jaime


>
> On Fri, Aug 7, 2015 at 12:19 AM, Charles R Harris <
> charlesr.harris at gmail.com> wrote:
>
>>
>>
>> On Thu, Aug 6, 2015 at 5:11 PM, Charles R Harris <
>> charlesr.harris at gmail.com> wrote:
>>
>>>
>>>
>>> On Thu, Aug 6, 2015 at 4:22 PM, David Cournapeau <cournape at gmail.com>
>>> wrote:
>>>
>>>> Sorry if that's obvious, but do you have Visual Studio 2010 installed ?
>>>>
>>>> On Thu, Aug 6, 2015 at 11:17 PM, Charles R Harris <
>>>> charlesr.harris at gmail.com> wrote:
>>>>
>>>>> Anyone know how to fix this? I've run into it before and never got it
>>>>> figured out.
>>>>>
>>>>> [192.168.121.189:22] out:   File
>>>>> "C:\Python34\lib\distutils\msvc9compiler.py", line 259, in query_vcvarsall
>>>>> [192.168.121.189:22] out:
>>>>> [192.168.121.189:22] out:     raise DistutilsPlatformError("Unable to
>>>>> find vcvarsall.bat")
>>>>> [192.168.121.189:22] out:
>>>>> [192.168.121.189:22] out: distutils.errors.DistutilsPlatformError:
>>>>> Unable to find vcvarsall.bat
>>>>>
>>>>> Chuck
>>>>>
>>>>>
>>>>>
>>> I'm running numpy-vendor, which is running wine. I think it is all mingw
>>> with a few installed dll's. The error is coming from the Python distutils
>>> as part of `has_cblas`.
>>>
>>>
>> It's not impossible that we have changed the build somewhere along the
>> line.
>>
>> Chuck
>>
>>
>> _______________________________________________
>> NumPy-Discussion mailing list
>> NumPy-Discussion at scipy.org
>> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>>
>>
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
>
>


-- 
(\__/)
( O.o)
( > <) Este es Conejo. Copia a Conejo en tu firma y ayúdale en sus planes
de dominación mundial.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20150807/dc3e02b8/attachment.html>


More information about the NumPy-Discussion mailing list