emanuel
(Matheus)
September 16, 2019, 8:11am
1
I am trying to use the rasa lib to create a chatbot and am getting the following error while trying to create the project:
The TensorFlow library was compiled to use AVX instructions, but these aren't available on your machine.
So I would like to know how I can install the rasa lib without using the tensorflow pipeline.
Can anyone help?
j.mosig
(Johannes Mosig)
September 16, 2019, 9:12am
2
Hi @emanuel , welcome to the forum!
This is strange. I thought by default TF is compiled without AVX. I think this might not be a rasa installation issue. Did you install TF before?
emanuel
(Matheus)
September 16, 2019, 2:07pm
3
I actually used this command that I found in the documentation:
pip install rasa-x --extra-index-url https://pypi.rasa.com/simple
j.mosig
(Johannes Mosig)
September 17, 2019, 2:15pm
4
Ok. I actually think it is just a warning that you can safely ignore. Or do you encounter another related error?
emanuel
(Matheus)
September 17, 2019, 11:14pm
5
Yes, I can’t train or run a basic assistant.
The system keeps returning the same error.
j.mosig
(Johannes Mosig)
September 18, 2019, 1:39pm
6
Ok, AVX as default was introduced with TF 1.6. If your CPU doesn’t support AVX, you’ll have to build TF from source before installing rasa (or afterwards using pip instll -U
). This issue might help: https://github.com/tensorflow/tensorflow/issues/19584
emanuel
(Matheus)
September 19, 2019, 1:05am
7
After compiling a version of TF how do I install rasa and make it use that compiled version?
emanuel
(Matheus)
October 6, 2019, 3:36pm
8
Hello, I was able to compile tensforflow from source, but when I install rasa it still uses the default version. How do I get rasa to use the compiled version of tf?
j.mosig
(Johannes Mosig)
October 9, 2019, 12:35pm
9
You’ll have to have it in the same virtual / conda environment as rasa. I’ve never done it though.
Stndor
(Jakob)
April 28, 2023, 11:58pm
10
Do you find a solution that work?