【问题标题】:module compiled against API version针对 API 版本编译的模块
【发布时间】:2019-01-17 15:02:13
【问题描述】:

我尝试使用 Rasa 运行 a python project,但出乎意料的是,我遇到了两个令我困惑的错误:一些 failed to import 消息,因为 module compiled against API vesion 和其他 Python has stopped working。这是我第一次使用 Windows 进行 wocoding。我是不是做错了什么?

(cha_env36) C:\Users\antoi\Documents\Programming\Nathalie\Chatbot_RASA_room_reservation>python run_app.py
RuntimeError: module compiled against API version 0xc but this version of numpy is 0xb
ImportError: numpy.core.multiarray failed to import
ImportError: numpy.core.umath failed to import
ImportError: numpy.core.umath failed to import
2018-11-26 19:35:40.214152: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr

【问题讨论】:

    标签: python


    【解决方案1】:

    您使用什么版本的numpypandas? 我认为问题的根源在于您当前的numpy==1.13.0pandas==0.21.0 安装不兼容。这在我的情况下有效:

    $ pip install --upgrade numpy
    $ pip install pandas==0.21.0
    

    【讨论】:

      猜你喜欢
      • 2014-01-26
      • 2021-06-29
      • 2018-06-11
      • 2016-02-24
      • 2018-10-13
      • 2016-09-27
      • 2019-07-28
      • 2020-01-09
      相关资源
      最近更新 更多