ValueError: Unknown MS Compiler version 1900

后端 未结 6 1102
日久生厌
日久生厌 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:51

    I just made he following changes and it worked like a charm!

    Edit file distutils.cfg present in locations:

    1. C:\Users\\AppData\Local\Continuum\Anaconda3\Lib\distutils\
    2. C:\Users\\AppData\Local\Continuum\Anaconda3\pkgs\libpython-2.0-py36_0\Lib\distutils

    Modify content of distutils.cfg to :

    [build]
    compiler=g++
    
    [build_ext]           
    compiler=g++
    

    P.S. Probably changing only in 2nd location should also do.

    P.P.S Make sure gcc is installed and is in PATH. For me , TDM-GCC-64 was installed

提交回复
热议问题