[SciPy-User] Install Scipy with Anaconda's MKL libraries

Denis Akhiyarov denis.akhiyarov at gmail.com
Tue May 9 00:25:58 EDT 2017


1. The documentation definitely needs improvements.

The difference here is that CPython requirements for MSVC compilers from
Visual Studio are not the same as ifort requirements for Visual Studio.
For example MSVC compiler for Python 2.7 (aka.ms/vcpython27) is likely not
enough to install ifort.
So 2.7 - MSVC 2008, 3.4 - MSVC 2010, 3.5-3.6 MSVC 2015/2017:
https://wiki.python.org/moin/WindowsCompilers

Here are ifort requirements for VS: https://software.intel.com
/en-us/articles/troubleshooting-fortran-integration-issues-w
ith-visual-studio

2. VS 2017 is supported by setuptools 34.4.0+

3. Anyway I followed Intel article about scipy and ifort using VS 2015 with
C++ compiler installed. In python 3.5, 64-bit both scipy and numpy compile
without any issues even with beta 2018 ifort compiler. Don't forget to use
the command prompt provided by Intel, Step 3 - Configuration:

https://software.intel.com/en-us/articles/building-numpyscipy-with-intel-mkl-and-intel-fortran-on-windows









On Sat, May 6, 2017 at 10:25 AM, David Goldsmith <
eulergaussriemann at gmail.com> wrote:

> Hi, David.  You (re-?)learned a frustrating lesson: when testing the
> hypothesis that an installation is "in the way," before/instead of
> uninstalling, rename/move.
>
> Now that i've moralized, with evidence of a "bug in the doc", my belief is
> that you will be asked to file a ticket (doc bugs are considered just as
> legitimate bugs as code bugs).  The only exception to this i can see is if
> someone else chimes in with a reasonable explanation as to why that's a
> "feature," not a bug, but in this instance, given what you say, that
> doesn't seem likely.
>
> DLG
>
> On Sat, May 6, 2017 at 7:50 AM David Hagen <david at drhagen.com> wrote:
>
>> I noticed that I had two versions of Visual Studio installed: Microsoft
>> Visual C++ 14.0 and Microsoft Visual Studio 2017. I thought that this might
>> be confusing the installer, so I uninstalled the older Microsoft Visual C++
>> 14.0. However, the Numpy installation now gives a new error:
>>
>> error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft
>> Visual C++
>> Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
>>
>> This seems to make it clear that uninstalling was a mistake, but the Numpy
>> build instructions <https://www.scipy.org/scipylib/building/windows.html>
>> say to specifically get the latest version of Visual Studio.
>> _______________________________________________
>> SciPy-User mailing list
>> SciPy-User at python.org
>> https://mail.python.org/mailman/listinfo/scipy-user
>>
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at python.org
> https://mail.python.org/mailman/listinfo/scipy-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20170508/309f599a/attachment.html>


More information about the SciPy-User mailing list