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

David Hagen david at drhagen.com
Sat May 6 11:23:20 EDT 2017


I reinstalled Microsoft Visual C++ 14.0. Then following various advice on
the web, I copied rc.exe and rcdll.exe from

C:\Program Files (x86)\Windows Kits\8.1\bin\x64

into

C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64

It seems that MSVC++ 14.0 and that weird file copying is necessary for
compiling Numpy. I can now install Numpy from source using python setup.py
install. I then copied the site.cfg into every numpy/distutils directory I
could find.

However, compiling Scipy gives a LNK2001 linking error with some _gfortran
symbols:

mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_st_write
mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_st_write_done
mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_stop_numeric_f08
mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_transfer_character_write
mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_transfer_integer_write
mach.lib(d1mach.o) : error LNK2001: unresolved external symbol
_gfortran_stop_string
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-user/attachments/20170506/0d0519a8/attachment.html>


More information about the SciPy-User mailing list