[SciPy-User] Building Scipy -Build from source on windows

Olivier B. perso.olivier.barthelemy at gmail.com
Fri Sep 20 11:18:26 EDT 2019


I had the same error when building with Visual C++ / gfortran of mingw / mkl
The only ugly workaround i have for now, was to 'tweak'
numpy/distutils/fcompiler/__init__.py, in link(), so i can pass by an
environment variable mkl_rt.lib at the correct position on the
grfortran command line (it must be after the compiled objects
contained in ld_args)
You can find at https://github.com/scipy/scipy/issues/10736 the issues
i encountered to manage sucessfull build for this config

Le ven. 20 sept. 2019 à 12:23, Harishkumar TR
<harishkumar.tr at oracle.com> a écrit :
>
> Hi Team,
>
>
>
> I am having issue in building the SciPy from source . Please see the attached log for more details.
>
>
>
> I am building scipy from source on windows.x64 platform. I read the doc from here https://docs.scipy.org/doc/scipy/reference/building/windows.html#building-the-released-scipy
>
>
>
>
>
> Command used: python setup.py bdist_wheel
>
>
>
> ERROR
>
>
>
> c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: build\temp.win-amd64-3.7\scipy\integrate\quadpack\dqc25f.o: in function `dqc25f_':
>
> c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\aime\Desktop\bachint\python_3.7.4_packages\scipy\1.3.1\scipy-1.3.1/scipy/integrate/quadpack/dqc25f.f:235: undefined reference to `dgtsv_'
> collect2.exe: error: ld returned 1 exit status
>
>
>
> My Fortune compiler is in place and lapack is in place.
>
>
>
>
>
>
>
> Can it be possible to help to fix this issue? Or if any build notes you can provide is a great help.
>
>
>
> In simple steps how to build sciupy??
>
>
>
>
>
> Regards,
>
> Harish
>
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at python.org
> https://mail.python.org/mailman/listinfo/scipy-user


More information about the SciPy-User mailing list