ValueError: Unknown MS Compiler version 1900

后端 未结 6 1100
日久生厌
日久生厌 2020-11-28 07:08

I am trying to run some code with Python 3.5 on Windows 10 with the use of cygwin (mingw). To be precise I am using the PyDSTool module, where I call the dopri integrator. T

6条回答
  •  佛祖请我去吃肉
    2020-11-28 07:47

    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

    1. Add mingw in the PATH variable (C:\mingw-w64\x86_64-7.1.0-posix-seh-rt_v5-rev0\mingw64\bin for me)
    2. Test by opening command line and command gcc works ( I have no other compilers)
    3. Create distutils.cfg in C:\Python36\Lib\distutils
    4. Add lines in that file:

      [build]
      compiler = mingw32
      
    5. Manually applying this patch

    6. Manually downloading the file vcruntime140.dll and putting it in C:\Python36\libs

提交回复
热议问题