lcn47
(Enrico)
May 28, 2019, 9:09am
1
Hello,
I’m trying to install Rasa on an Homestead VM, based on Ubuntu 18.04, with 8gb RAM.
When i run the command
pip3 install rasa
I always get the same error:
Segmentation fault (core dumped)
I’m using Python 3.6.7 and I didn’t have any problem installing the previous versions of rasa-core and rasa-nlu.
Can you help me solve this problem, please?
Thank you
tmbo
(Tom Bocklisch)
May 29, 2019, 2:15pm
2
Hey @lcn47 welcome to Rasa
This sounds a lot like you are running out of memory. Can you check how much memory the python process is using and how much is available?
Can you also please add the whole log?
lcn47
(Enrico)
June 6, 2019, 2:20pm
3
Hi,
I finally managed to solve the problem, it seems like I was indeed running out of memory. I had to resize the VM (the initial 18gb was far too small) and add a 10gb swap file.
Here are the guides I followed, if anyone has the same issue:
https://laracasts.com/discuss/channels/guides/a-guide-to-extending-homestead-storage-capacity
https://linuxize.com/post/create-a-linux-swap-file/