Can't install rasa on a Raspberry 4 4GB with Ubuntu 19.10 server 64 bits

Hello,

I oppened this issue on github: Can't install rasa on Raspberry Pi 4 4Gb Ubuntu 19.10 server 64 bits · Issue #5224 · RasaHQ/rasa · GitHub

Rasa version: The last which installed with pip

Python version: 3.6.5, 3.6.8, 3.6.9, 3.7

Operating system (windows, osx, …): Ubuntu 19.10 server 64 bits - Raspberry Pi 4 4Gb (arm64)

Issue: Install fail rasa on my raspberry. Same with follow the issue #4603

Error (including full traceback):

Etienne, [11.02.20 17:31]
ubuntu@ubuntu:~/Downloads$ pip3 -VScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))ScreenElement(char= , style=ScreenElementStyle(textColor=null, backColor=null, boldMode=false, underlineMode=false, inverseMode=false, altCharsetMode=false, guardMode=false, newLine=false, fontRGB=null, backRGB=null))
pip 20.0.2 from /home/ubuntu/.local/lib/python3.7/site-packages/pip (pytho
# cleanup[3] wiping _imp                                                  
# cleanup[3] wiping _warnings                                             
# cleanup[3] wiping _thread                                               
# cleanup[3] wiping _weakref                                              
# cleanup[3] wiping _io                                                   
# cleanup[3] wiping marshal                                               
# cleanup[3] wiping posix                                                 
# cleanup[3] wiping codecs                                                
# cleanup[3] wiping _codecs                                               
# cleanup[3] wiping encodings.aliases                                     
# cleanup[3] wiping encodings.utf_8                                       
# cleanup[3] wiping encodings.latin_1                                     
# cleanup[3] wiping sys                                                   
# cleanup[3] wiping builtins                                              
ubuntu@ubuntu:~/Downloads$ pip3 install rasa                              
Defaulting to user installation because normal site-packages is not writea
ble                                                                       
Collecting rasa                                                           
  Using cached rasa-1.7.0-py3-none-any.whl (573 kB)                       
Collecting boto3~=1.9                                                     
  Using cached boto3-1.11.14-py2.py3-none-any.whl (128 kB)                
ERROR: Could not find a version that satisfies the requirement tensorflow-
cpu~=1.15.0 (from rasa) (from versions: none)                             
ERROR: No matching distribution found for tensorflow-cpu~=1.15.0 (from ras
a)

Command or request that led to error:

pip3 install rasa

or

python3.6 -m pip install rasa

Thank’s by advance (and sorry for my english :wink: )

Sorry im not coming with a solution here, but i am guessing this might be a hardware compatibility issue? I get the same error when trying to install rasa on my Surface Laptop 3. Installing rasa on my Desktop PC (i7 7700K) and a Google Cloud Instance works fine. Did some looking around for this issue and this sounded the most plausible

Although im not quite sure how to check if my CPU support AVX. Also am confused by

(from versions: none)

I think I’ll have to wait for a RASA update when tensorflow is compatible with Raspbery…

Its possible to install Rasa on your RPI 4 but you need to be using ubuntu 23.04 and python 10. I have tested and posted a tutorial for getting it to work here

I haven’t personally tested it on server but i did test it on desktop and it worked. I dont see why it also wont work on server