Translate

how to install rasa-x on ubuntu.

 

how to install rasa-x on ubuntu.

so in this story, I am going to explain how to install rasa-x on ubuntu.

install python.

so here you have to make sure to install only python 3.6 or 3.7.

python 3.6

sudo apt-get install python3.6-dev

python 3.7

```
 sudo apt-get install python3.7-dev
``` 

python 3.8

``` 

 sudo apt-get install python3.8-dev

 ```

 

install build essential.

it will install packages like gcc,g++ etc.

these packages are required to install rasa-x.

```
 sudo apt-get install build-essential
``` 

install the rasa-x by using pip.

```
pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple
``` 
# my suggestion
``` 
 pip3 install rasa-x==0.40 --extra-index-url https://pypi.rasa.com/simple
 ```  
# version checking
``` 
 rasa --version
```  
```
Rasa Version : 2.8.25
Minimum Compatible Version: 2.8.9
Rasa SDK Version : 2.8.4
Rasa X Version : 0.40.0
Python Version : 3.8.10
Operating System : Linux-5.13.0-30-generic-x86_64-with-glibc2.29
Python Path : /usr/bin/python3 
 
``` 

make sure you do install build essential tools otherwise, installation of rasa-x will throw errors.

if this tutorial is helpful to you then press 👏

 

Step 4:

Dependencies for spaCy

For more information on spaCy models, check out the spaCy docs.

You can install it with the following commands:

```

pip3 install rasa[spacy] 

#or

 pip install rasa [spacy]

python3 -m spacy donwload en_core_web_md

 ````

pip3 install rasa[spacy]
python3 -m spacy download en_core_web_md

This will install Rasa Open Source as well as spaCy and its language model for the English language, but many other languages are availabe too. We recommend using at least the "medium" sized models (_md) instead of the spaCy's default small en_core_web_sm model. Small models require less memory to run, but will likely reduce intent classification performance.

 

Author - Yug Damor 

References - https://yugdamor.medium.com/

Comments

Popular Posts

bot

Popular post