【问题标题】:is there a way to change RASA_NLU config from visual c++ 14.0 to MinGW有没有办法将 RASA_NLU 配置从 Visual c++ 14.0 更改为 MinGW
【发布时间】:2019-04-15 06:05:39
【问题描述】:

有没有办法将 RASA_NLU 配置从 Visual c++ 14.0 更改为 MinGW

错误:需要 Microsoft Visual C++ 14.0。使用“Microsoft Visual C++ Build Tools”获取它:http://landinghub.visualstudio.com/visual-cpp-build-tools

【问题讨论】:

    标签: python tensorflow rasa-nlu


    【解决方案1】:

    请确保C:\MinGW_w64\bin 在您的PATH 环境变量中。然后在<Python Installation Directory>\Lib\distutils目录下创建一个文件distutils.cfg,并添加如下内容:

    [build]
    compiler=mingw32
    
    [build_ext]
    compiler=mingw32
    

    注意,mingw 显然只适用于最高 3.4 的 Python 版本。请参阅此wikipage 了解更多信息。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-02-01
      • 1970-01-01
      • 2020-06-18
      相关资源
      最近更新 更多