# Rasa X doesn't work in windows 10

**URL:** <https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [August 30, 2021, 12:48pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309 "2021-08-30T12:48:04Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 30, 2021, 12:48pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/1 "2021-08-30T12:48:05Z")

</div>

Please help. When I run the rasa x command, I get the below error in the command prompt

Rasa Version : 2.8.0 Minimum Compatible Version: 2.8.0 Rasa SDK Version : 2.8.1 Rasa X Version : 0.41.0 Python Version : 3.7.5 Operating System : Windows-10-10.0.19041-SP0 Python Path : d:\pycharmprojects\rasa\venv\scripts\python.exe

* * *

> > rasa x

Starting Rasa X in local mode… � **2021-08-30 17:03:37 WARNING rasax.community.services.insights.insight\_service - No local evaluation result files** found. Traceback (most recent call last): File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasa\cli\x.py”, line 502, in run\_locally domain\_path=domain\_path, File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\local.py”, line 257, in main common\_utils.run\_in\_loop(model\_service.discover\_models()) File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\utils\common.py”, line 900, in run\_in\_loop return loop.run\_until\_complete(coro) File “C:\Python37\lib\asyncio\base\_events.py”, line 579, in run\_until\_complete return future.result() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 821, in di scover\_models await model\_service.discover\_models() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 147, in di scover\_models await \_run\_loop(max\_retries, sleep\_in\_seconds) File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 133, in \_r un\_loop await self.\_discover\_models() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 185, in \_d iscover\_models minimum\_version = await self.\_retry\_fetching\_minimum\_compatible\_version() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 174, in \_r etry\_fetching\_minimum\_compatible\_version minimum\_version = await self.minimum\_compatible\_version() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\model\_service.py”, line 160, in mi nimum\_compatible\_version info = await stack\_service.version() File “d:\pycharmprojects\rasa\venv\lib\site-packages\rasax\community\services\stack\_service.py”, line 95, in ver sion timeout=timeout\_in\_seconds, File “d:\pycharmprojects\rasa\venv\lib\site-packages\aiohttp\client.py”, line 582, in \_request break File “d:\pycharmprojects\rasa\venv\lib\site-packages\aiohttp\helpers.py”, line 596, in **exit** raise asyncio.TimeoutError from None **concurrent.futures.\_base.TimeoutError**

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/](http://forum.rasa.com/)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 30, 2021, 12:54pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/2 "2021-08-30T12:54:16Z")

</div>

@meli_javan please share rasa version `rasa --version`

@meli_javan Follow these steps and you will be able to Run Rasa X

I’d recommend to create a fresh conda environment with python 3.8 and follow the step

```auto
`pip install rasa==2.8.1`
`pip install rasa-sdk==2.8.1'

```

check version `rasa --version` its install or not

then

`pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

check rasa version `rasa --version` its install or not

You will see some error : ImportError: cannot import name ‘RowProxy’ from ‘sqlalchemy.engine’ Install

`pip install SQLAlchemy==1.3.22` should fix it

If sanic related error: `pip install sanic-jwt==1.6.0`

delete .db if is showing alembic issue.

I hope this will solve your issue and when it run please close this thread with the solution for others. Good luck!

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 30, 2021, 1:01pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/4 "2021-08-30T13:01:49Z")

</div>

I’ve tried rasa-x==0.39.x and it didn’t work unfortunately.

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 30, 2021, 1:03pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/5 "2021-08-30T13:03:16Z")

</div>

@meli_javan Please create the new environment and follow the above mention steps, If not then we will solve the error together? Ok?

@meli_javan Any python version can work i.e 3.6, 3.7 or 3.8. I just want that you install in a fresh env.

@meli_javan for faster reply do mention @ and nik202 for direct notification. Thanks.

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 30, 2021, 1:07pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/6 "2021-08-30T13:07:19Z")

</div>

Thanks a million

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 30, 2021, 1:08pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/7 "2021-08-30T13:08:31Z")

</div>

@meli_javan First solved the issue and then I will accept the thanks 🙂 If this solution not worked then ? 😛

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 30, 2021, 1:13pm UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/9 "2021-08-30T13:13:31Z")

</div>

@meli_javan Ok ok. No worries please now run the code. Thanks it’s fine accepted 🙏

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 3:48am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/10 "2021-08-31T03:48:30Z")

</div>

Hi again @nik202 ! I did everything you said, and it works now but there are some errors in terminal : 👇🏻 is it normal?

 ![Screenshot (3)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/5/9/59e232012484110506f8697501af582884c02357.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 5:39am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/11 "2021-08-31T05:39:10Z")

</div>

@meli_javan please share rasa version `rasa --version`

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 6:55am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/12 "2021-08-31T06:55:24Z")

</div>

😟 ☹ @nik202

 ![Screenshot (5)](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/9/9/99a27efe13bedf439692d578f16ee5fbf94f6c9e.png)

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 6:57am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/13 "2021-08-31T06:57:05Z")

</div>

@meli_javan Don’t worry, I am sure you missed some dependencies 🙂

@meli_javan Did you install rasa init project, if yes please run rasa x again and tell me what is your current error?

@meli_javan You are using PyCharm and you are in d: drive hmmm

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 7:00am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/14 "2021-08-31T07:00:16Z")

</div>

@meli_javan

Possible Solution 1:

1. Go to the directory: venv/Lib/site-packages/rasa/core/channels/console.py
2. Change the default value of **DEFAULT\_STREAM\_READING\_TIMEOUT\_IN\_SECONDS** to more than 10, what ever time you required may be 30.

run and check the error or share screenshoot

@meli_javan

Possible Solution 2:

From command prompt

1. SET http\_proxy=http://localhost:5002
2. SET https\_proxy=http://localhost:5002

run and check the error or share screenshoot

I not seen this error since ages, but don’t know how you got this error ☹

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 7:21am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/15 "2021-08-31T07:21:55Z")

</div>

Dear @nik202 I did both possible solutions 1 and 2. and yes I installed rasa init before rasa x and also all of them in an isolated venv. but same error occurred. you know rasa x loads in browser but same error ( in below ) in terminal. ☹

```auto
2021-08-31 11:45:59 WARNING rasax.community.services.insights.insight_service - No local evaluation result files found.
2021-08-31 11:46:02 ERROR concurrent.futures - exception calling callback for <Future at 0x1e6ae28a888 state=finished raised gaierror>
Traceback (most recent call last):
  File "C:\Python37\lib\concurrent\futures\thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "C:\Python37\lib\socket.py", line 748, 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:\Python37\lib\concurrent\futures\_base.py", line 324, in _invoke_callbacks
    callback(self)
  File "C:\Python37\lib\asyncio\futures.py", line 362, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "C:\Python37\lib\asyncio\base_events.py", line 728, in call_soon_threadsafe
    self._check_closed()
  File "C:\Python37\lib\asyncio\base_events.py", line 475, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
2021-08-31 11:46:02 ERROR concurrent.futures - exception calling callback for <Future at 0x1e6ae28a848 state=finished returned list>
Traceback (most recent call last):
  File "C:\Python37\lib\concurrent\futures\_base.py", line 324, in _invoke_callbacks
    callback(self)
  File "C:\Python37\lib\asyncio\futures.py", line 362, in _call_set_state
    dest_loop.call_soon_threadsafe(_set_state, destination, source)
  File "C:\Python37\lib\asyncio\base_events.py", line 728, in call_soon_threadsafe
    self._check_closed()
  File "C:\Python37\lib\asyncio\base_events.py", line 475, in _check_closed
    raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
WARNING:rasax.community.telemetry:An error occured when trying to send the telemetry event: HTTPSConnectionPool(host='api.segment.io', port=443): Read timed out. (read timeout=2)
WARNING:rasax.community.telemetry:An error occured when trying to send the telemetry event: HTTPSConnectionPool(host='api.segment.io', port=443): Read timed out. (read timeout=2)
2021-08-31 11:46:10 ERROR asyncio - Task was destroyed but it is pending!
task: <Task pending coro=<TCPConnector._resolve_host() done, defined at d:\pycharmprojects\rasa2\venv\lib\site-packages\aiohttp\connector.py:806> wait_for=<Future pending cb=[_chain_futur
e.<locals>._call_check_cancel() at C:\Python37\lib\asyncio\futures.py:348, <TaskWakeupMethWrapper object at 0x000001E6AE289D98>()]> cb=[TCPConnector._create_direct_connection.<locals>.dro
p_exception() at d:\pycharmprojects\rasa2\venv\lib\site-packages\aiohttp\connector.py:1002]>
[2021-08-31 11:46:10 +0430] [16672] [INFO] Goin' Fast @ http://0.0.0.0:5002
2021-08-31 11:46:10 INFO sanic.root - Goin' Fast @ http://0.0.0.0:5002

The server is running at http://localhost:5002/login?username=me&password=lO2YOGS355RJ

[2021-08-31 11:46:12 +0430] [16672] [INFO] Starting worker [16672]
2021-08-31 11:46:12 INFO sanic.root - Starting worker [16672]

```

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 7:30am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/16 "2021-08-31T07:30:03Z")

</div>

@nik202After debugging I realized that **InvalidSignatureError** could not import from jwt in **venv\Lib\site-packages\rasax\community\jwt.py**

Console 👇🏻 👇🏻 👇🏻

````auto
Traceback (most recent call last):
  File "D:/PycharmProjects/rasa2/venv/Lib/site-packages/rasax/community/ __main__.py", line 17, in <module>
    from rasax.community.server import main
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\rasax\community\server.py", line 6, in <module>
    from rasax.community.services.integrated_version_control import git_service
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\rasax\community\services\integrated_version_control\git_service.py", line 31, in <module>
    import rasax.community.initialise
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\rasax\community\initialise.py", line 18, in <module>
    from rasax.community.services.user_service import UserService
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\rasax\community\services\user_service.py", line 8, in <module>
    from sanic_jwt import exceptions
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\sanic_jwt\ __init__.py", line 7, in <module>
    from .authentication import Authentication
  File "D:\PycharmProjects\rasa2\venv\lib\site-packages\sanic_jwt\authentication.py", line 7, in <module>
    import jwt
  File "D:\PycharmProjects\rasa2\venv\Lib\site-packages\rasax\community\jwt.py", line 5, in <module>
    from jwt import InvalidSignatureError
ImportError: cannot import name 'InvalidSignatureError' from 'jwt' (D:\PycharmProjects\rasa2\venv\Lib\site-packages\rasax\community\jwt.py)```
````

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 9:09am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/17 "2021-08-31T09:09:08Z")

</div>

@meli_javan try install this

`pip install sanic-jwt==1.6.0`

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 9:15am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/18 "2021-08-31T09:15:06Z")

</div>

@meli_javan Its not related to rasa I guess, it is related to Anaconda. Where is your anaconda install its C or D drive?

@meli_javan Your venv is not having proper path.

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 9:24am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/19 "2021-08-31T09:24:10Z")

</div>

@nik202 I’m using Pycharm. 🤔 and don’t have anaconda, should I install?

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 9:25am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/20 "2021-08-31T09:25:58Z")

</div>

@meli_javan gotcha, Yes, you need to install Anaconda (3.7 or 3.8) in C drive only and then create the venv as mention in my above post and copy your project folder in it and then run the code; all you need to do in C drive only. Try use VS code or Sublime?

@meli_javan Do you know how to install Anaconda?

@meli_javan You will get the Anaconda Powershell, which have base mention at the starting, work on that only, not on CMD powershell.

---

<div class="post-metadata">

**Author:** ![meli\_javan](https://avatars.discourse-cdn.com/v4/letter/m/8491ac/32.png) [@meli\_javan](https://forum.rasa.com/u/meli_javan)\
**Post date:** [August 31, 2021, 9:30am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/21 "2021-08-31T09:30:25Z")

</div>

😱 🙏🏻 🙏🏻 I’m really grateful for your help Nik, I’m gonna install it right now 🏃🏻‍♀️

---

<div class="post-metadata">

**Author:** ![nik202](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/nik202/32/16098_2.png) [@nik202](https://forum.rasa.com/u/nik202)\
**Post date:** [August 31, 2021, 9:31am UTC](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309/22 "2021-08-31T09:31:00Z")

</div>

@meli_javan please, just run the code first then thanks me.

[Next page](https://forum.rasa.com/t/rasa-x-doesnt-work-in-windows-10/47309.md?page=2)
