Rasa not installed

RNING: Skipping rasa as it is not installed. (tonirasa:3.7)[xxxxx@xxxxx tonirasa]$ pip install rasa Collecting rasa Using cached rasa-2.3.2-py3-none-any.whl (697 kB) Collecting webexteamssdk<1.7.0,>=1.1.1 Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB) Collecting regex<2020.10,>=2020.6 Using cached regex-2020.9.27-cp37-cp37m-manylinux2010_x86_64.whl (662 kB) Collecting sentry-sdk<0.20.0,>=0.17.0 Using cached sentry_sdk-0.19.5-py2.py3-none-any.whl (128 kB) Collecting sanic-jwt<2.0,>=1.3.2 Using cached sanic-jwt-1.6.0.tar.gz (19 kB) Collecting matplotlib<3.4,>=3.1 Using cached matplotlib-3.3.4-cp37-cp37m-manylinux1_x86_64.whl (11.5 MB) Collecting setuptools>=41.0.0 Using cached setuptools-53.0.0-py3-none-any.whl (784 kB) Collecting numpy<1.17,>=1.16 Using cached numpy-1.16.6-cp37-cp37m-manylinux1_x86_64.whl (17.3 MB) Collecting twilio<6.51,>=6.26 Using cached twilio-6.50.1.tar.gz (457 kB)Collecting jsonschema<3.3,>=3.2 Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) Collecting tqdm<4.57,>=4.31 Using cached tqdm-4.56.2-py2.py3-none-any.whl (72 kB) Collecting PyJWT[crypto]<3.0.0,>=2.0.0 Using cached PyJWT-2.0.1-py3-none-any.whl (15 kB) Collecting python-dateutil<2.9,>=2.8 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting tensorflow-probability<0.12,>=0.11 Using cached tensorflow_probability-0.11.1-py2.py3-none-any.whl (4.3 MB) Collecting kafka-python<3.0,>=1.4 Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) Collecting python-socketio<6,>=4.4 Using cached python_socketio-5.0.4-py2.py3-none-any.whl (52 kB) Collecting pytz<2021.0,>=2019.1 Using cached pytz-2020.5-py2.py3-none-any.whl (510 kB) Collecting tensorflow<2.4,>=2.3 Killed (tonirasa:3.7)[xxxxx@xxxxx tonirasa]$ pip uninstall rasa WARNING: Skipping rasa as it is not installed. (tonirasa:3.7)[xxxxx@xxxxx tonirasa]$ pip3 install ras Collecting ras Downloading ras-0.1.tar.gz (3.2 kB) Collecting rethinkdb Downloading rethinkdb-2.4.8-py2.py3-none-any.whl (160 kB) |██ | 10 k |████ | 20 k |██████▏ | 30 k |████████▏ | 40 k |██████████▎ | 51 k |████████████▎ | 61 k |██████████████▎ | 71 k |████████████████▍ | 81 k |██████████████████▍ | 92 k |████████████████████▌ | 102 |██████████████████████▌ | 112 |████████████████████████▌ | 122 |██████████████████████████▋ | 133 |████████████████████████████▋ | 143 |██████████████████████████████▊ | 153 |████████████████████████████████| 160 kB 11.1 MB/s Requirement already satisfied: six in /home/xxxxx/virtualenv/tonirasa/3.7/lib/python3.7/site-packages (from rethinkdb->ras) (1.15.0) Building wheels for collected packages: ras Building wheel for ras (setup.py) … done Created wheel for ras: filename=ras-0.1-py3-none-any.whl size=5078 sha256=e6b6d3fab817b16d4fb95b0f1503c5c3e12d96998091b60fac6e6f56c9d6f9ae Stored in directory: /home/interco3/.cache/pip/wheels/eb/bd/e3/8670e1c968f26e837c3e2cd705e9bcd0a510d33b294d688773 Successfully built ras Installing collected packages: rethinkdb, ras Successfully installed ras-0.1 rethinkdb-2.4.8 (tonirasa:3.7)[xxxxx@xxxxx tonirasa]$ rasa init --no-promt -jailshell: rasa: command not foun(tonirasa:3.7)

Hello @intercontoni thanks for your question and welcome to the forum!

I see in the logs that you pasted that the pip installed command was “Killed”, and it seems that your python environment is corrupted. I suggest you to erase the virtual environment that you’re using and restart the pip install rasa command from scratch. I hope this helps!

(For what it’s worth, the last command you typed is incorrect because it tries to install the ras package instead of rasa)

Hi… thanks for you help…

I delete and create a new python whit the same name… not work… delete and create another python whit another name… not work…

The problem is a tensorflow 2.4…

I install tensorflow 2.0 … pip install tensorflow 2.0 not problem is easy install

How to upgrade tensorflow 2.0 to 2.4???.. I tray whit pip install --upgrade tensorflow and is killer too…

Moch better solutions is… What version rasa work whit tensorflow 2.0 ???

Thanks…

At the moment, rasa doesn’t support tensorflow 2.4. Instead you can use tensorflow==2.3.

Oh! Thank you very much… is installed… Thanks a lot bro…

Anotjrr problem… sorry…

In doc rasa say…

To get started, you can let the

[Suggested Config]

(Model Configuration)

feature choose a default pipeline for you. Just provide your bot’s language in the config.yml file and leave the pipeline key out or empty.

language: fr  # your 2-letter language code

pipeline:
# intentionally left empty

Letter say…

Sensible Starting Pipelines#

If you’re starting from scratch, it’s often helpful to start with pretrained word embeddings. Pre-trained word embeddings are helpful as they already encode some kind of linguistic knowledge. For example, if you have a sentence like “I want to buy apples” in your training data, and Rasa is asked to predict the intent for “get pears”, your model already knows that the words “apples” and “pears” are very similar. This is especially useful if you don’t have enough training data.

If you are getting started with a one of Spacy Supported Languages we recommend the following pipeline:

language: "fr"  # your two-letter language code

pipeline:
  - name: SpacyNLP
  - name: SpacyTokenizer
  - name: SpacyFeaturizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

Well… my lenguaje is spanish… es… I used es in config.py…

language: "es"  # your two-letter language code

pipeline:
  - name: SpacyNLP
  - name: SpacyTokenizer
  - name: SpacyFeaturizer
  - name: RegexFeaturizer
  - name: LexicalSyntacticFeaturizer
  - name: CountVectorsFeaturizer
  - name: CountVectorsFeaturizer
    analyzer: "char_wb"
    min_ngram: 1
    max_ngram: 4
  - name: DIETClassifier
    epochs: 100
  - name: EntitySynonymMapper
  - name: ResponseSelector
    epochs: 100

I nstalled spacy spanish…

python -m spacy download es_core_news_sm

I need rasa speack spanish for my web-project

Is installet spacy spanish… but when i go in the terminal rasa shell… not speak spanish… is enlgish…

I don’t understand

How do I get him to speak Spanish and how do I get him to talk about the project I have?

can I make the .yml files manually for a database?

example … chatterbot uses chatterbot-corpus … there are the languages ​​including Spanish … and inside are the .yml files