Error: Illegal instruction when run rasa

Please help me. I have installed rasa-x by follow pip install rasa-x --extra-index-url https://pypi.rasa.com/simple (python 3.7), and completed, no error. But when i run: rasa init --no-prompt , the error: Illegal instruction Please help me Capture

`

Hi there,

This may be unrelated, but this is a known issue with recent tensorflow versions on certain cpus, especially older models ( see python - Illegal instruction (core dumped) after running import tensorflow - Stack Overflow ). Possible solutions for that specific issue include building tensorflow from source on your machine.

An alternative approach is to use an anaconda environment and use conda to install tensorflow before installing rasa with pip. Conda is significantly better at dealing with dependencies than pip, because it also handles binary dependencies.

However, maybe this error is already known to the rasa team, or has a different reason in this context, so keep this in mind as a last resort solution, I am sure someone can come up with better options!

Best, Tao

Hey @1412392, did you end up being able to use rasa init successfully?

I’m having the same issue. I’ve created a python3.7 env in miniconda and install rasa-x inside it. In case it is a CPU compatability issue, I’m running Intel® Xeon® CPU E5-2620 v4. Will try to build TF from source and return with an update…

update I compiled tensorflow and now I can call rasa. Using these instructions, and build target 1.13.2.