I made the following changes and it worked for me with the following configurations.
- OS : Win 7 Prof. SP1 64 bit
- CPython 3.6 , 64 Bit
- Mingw 64 (x86_64-7.1.0-posix-seh-rt_v5-rev0)
- Cython 0.25.2
I did the following
- Add mingw in the PATH variable (
C:\mingw-w64\x86_64-7.1.0-posix-seh-rt_v5-rev0\mingw64\bin
for me) - Test by opening command line and command
gcc
works ( I have no other compilers) - Create
distutils.cfg
inC:\Python36\Lib\distutils
Add lines in that file:
[build] compiler = mingw32
Manually applying this patch
- Manually downloading the file
vcruntime140.dll
and putting it inC:\Python36\libs