JustinaPetr / Weatherbot_Tutorial

275 stars 447 forks source link

Errors when running python nlu_model.py #57

Open ryang420 opened 5 years ago

ryang420 commented 5 years ago

I got below errors when I was running python nlu_model.py on my local. I installed the dependencies in the "Full Code [Latest release of Rasa NLU and Rasa Core]" requirements.txt. What's wrong here?

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-12-17 17:19:22.428015: F tensorflow/python/lib/core/bfloat16.cc:675] Check failed: PyBfloat16_Type.tp_base != nullptr Abort trap: 6

akscipy commented 5 years ago

I faced the same issue and found that I had numpy 1.13 installed which was not compatable so I uninstalled numpy and installed again numpy version 1.14.

Below should work: pip uninstall numpy pip install numpy==1.14.3