Rasa 3.0 does not train

I have installed rasa 3.0.9 in an Anaconda environment called “rasa3”. I created a “testbot” with “rasa init”. When I try to train the model nothing happens and I just get a new command prompt.

$ source activate rasa3
(rasa3)
Susanne@HP-Omen MINGW64 /h/chatbots/testbot
$ rasa train
The configuration for policies and pipeline was chosen automatically. It was written into the config file at 'config.yml'.
(rasa3)

I must be missing something basic. Thanks for your support

Welcome to the forum :slight_smile:

Please share the outputs of rasa --version and ls.


Tip: To properly format code/commands and make it readable, enclose it with 3 backticks (```)

```
like this
```

Hi Chris,

please find the outputs below. Running on Windows 10 in Visual Studio Code with git bash.

$ ls
actions  config.yml  credentials.yml  data  domain.yml  endpoints.yml  models  story_graph.dot  tests
(rasa3) 
$ rasa --version
Rasa Version      :         3.0.9
Minimum Compatible Version: 3.0.0
Rasa SDK Version  :         3.0.6
Rasa X Version    :         None
Python Version    :         3.8.12
Operating System  :         Windows-10-10.0.19042-SP0
Python Path       :         D:\Anaconda\envs\rasa3\python.exe
1 Like

Weird…

Does a model get created in the models folder?

Unfortunately not.

Can you try reinstalling Rasa again?

Hi Chris,

I created a new conda env (python 3.8) and tried to install rasa… which failed!


(rasa3_n) H:\chatbots>pip install rasa
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/rasa/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/rasa/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/rasa/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/rasa/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/rasa/
Could not fetch URL https://pypi.org/simple/rasa/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/rasa/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping
ERROR: Could not find a version that satisfies the requirement rasa (from versions: none)
ERROR: No matching distribution found for rasa
WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping

Looks like a Pip problem.

Please try the solutions given here:

Thanks Chris,

awesome work. Rasa (in my new env) has started to train is now presenting me some “YamlValidationException” errors. Therefore I can start to work on the task specific errors… and when I cannot solve them I will create a new thread.

Thanks, newinmunich

1 Like

Awesome, glad to be of help (though I only provided a link :slight_smile:)

And happy to know you will help fixing the errors yourself before posting them, thank you for the efforts! :slight_smile: