Rasa x installation error-no solution found

Hi, I have installed rasa x and when I run rasa x command it gives the following error: Error:

Starting Rasa X in local mode… :rocket: 2021-10-27 15:37:34 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found. 2021-10-27 15:37:36 ERROR concurrent.futures - exception calling callback for <Future at 0x1bec510b588 state=finished raised gaierror> Traceback (most recent call last): File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\concurrent\futures\thread.py”, line 57, in run result = self.fn(*self.args, **self.kwargs) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\socket.py”, line 752, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno 11001] getaddrinfo failed

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\concurrent\futures_base.py”, line 324, in _invoke_callbacks callback(self) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\futures.py”, line 365, in _call_set_state dest_loop.call_soon_threadsafe(_set_state, destination, source) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\base_events.py”, line 732, in call_soon_threadsafe self._check_closed() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\base_events.py”, line 479, in _check_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed Traceback (most recent call last): File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasa\cli\x.py”, line 501, in run_locally domain_path=domain_path, File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\local.py”, line 257, in main common_utils.run_in_loop(model_service.discover_models()) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\utils\common.py”, line 900, in run_in_loop return loop.run_until_complete(coro) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\base_events.py”, line 583, in run_until_complete return future.result() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 821, in discover_models await model_service.discover_models() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 147, in discover_models await _run_loop(max_retries, sleep_in_seconds) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 133, in _run_loop await self._discover_models() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 185, in _discover_models minimum_version = await self._retry_fetching_minimum_compatible_version() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 174, in _retry_fetching_minimum_compatible_version minimum_version = await self.minimum_compatible_version() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\model_service.py”, line 160, in minimum_compatible_version info = await stack_service.version() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\rasax\community\services\stack_service.py”, line 95, in version timeout=timeout_in_seconds, File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\aiohttp\client.py”, line 619, in _request break File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\aiohttp\helpers.py”, line 656, in exit raise asyncio.TimeoutError from None concurrent.futures._base.TimeoutError

2021-10-27 15:37:36 ERROR concurrent.futures - exception calling callback for <Future at 0x1bec51403c8 state=finished returned list> Traceback (most recent call last): File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\concurrent\futures_base.py”, line 324, in _invoke_callbacks callback(self) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\futures.py”, line 365, in _call_set_state dest_loop.call_soon_threadsafe(_set_state, destination, source) File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\base_events.py”, line 732, in call_soon_threadsafe self._check_closed() File “c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\base_events.py”, line 479, in _check_closed raise RuntimeError(‘Event loop is closed’) RuntimeError: Event loop is closed Sorry, something went wrong (see error above). Make sure to start Rasa X with valid data and valid domain and config files. Please, also check any warnings that popped up. If you need help fixing the issue visit our forum: http://forum.rasa.com/. 2021-10-27 15:38:32 ERROR asyncio - Task was destroyed but it is pending! task: <Task pending coro=<TCPConnector._resolve_host() done, defined at c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\aiohttp\connector.py:806> wait_for=<Future pending cb=[_chain_future.._call_check_cancel() at c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\asyncio\futures.py:351, <TaskWakeupMethWrapper object at 0x000001BEC51AEAC8>()]> cb=[TCPConnector._create_direct_connection..drop_exception() at c:\users\mcc1089\anaconda3\envs\chatbot_venv\lib\site-packages\aiohttp\connector.py:1002]>

my virtual environment has following installation. Rasa Version : 2.6.2 Minimum Compatible Version: 2.6.0 Rasa SDK Version : 2.6.0 Rasa X Version : 0.41.1 Python Version : 3.7.6 Operating System : Windows-10-10.0.19041-SP0 Python Path : c:\users\mcc1089\anaconda3\envs\chatbot_venv\python.exe

I would really be grateful if anyone could provide solutions to it.

@Krishnasubedi Hello, can you please share the screenshot rasa --version you are using for installation?

@nik202 it was at the end of the message. Here are the details: Rasa Version : 2.6.2 Minimum Compatible Version: 2.6.0 Rasa SDK Version : 2.6.0 Rasa X Version : 0.41.1 Python Version : 3.7.6 Operating System : Windows-10-10.0.19041-SP0 Python Path : c:\users\mcc1089\anaconda3\envs\chatbot_venv\python.exe

I think for this configuration, rasa x version should be : 0.40.0 as it is mentioned in versioning in rasa x documentation.

Thank you

One more question: Do we need to create project folder (where rasa init command creates default stuff) in side virtual environment? for example: my virtual environment(anaconda) is located in C:\User\user\anaconda3\envs\name_of_venv

so does it necessary to create a project folder inside [C:\User\user\anaconda3\envs\name_of_venv] like [C:\User\user\anaconda3\envs\name_of_venv\support_bot] or I can have project folder any other location like d:\support_bot? Seems like silly question, I tried a lot installing rasa x , It’s gets installed but while running gives the similar kind of error posted in earlier post.

Thank you in anticipation.

@Krishnasubedi

can you please confirm two things, 1. are you able to install and chat with your bot? and 2. what is the configuration combination you have used for rasa and rasa installation if its install and running ?