# Unable to build ujson

**URL:** <https://forum.rasa.com/t/unable-to-build-ujson/48645>\
**Category:** \[Deprecated\] Rasa X Community Edition\
**Created:** [October 21, 2021, 10:41am UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645 "2021-10-21T10:41:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 10:41am UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/1 "2021-10-21T10:41:33Z")

</div>

I try 5 days to install rasa x on my windows 11 laptop. i cannot do it.

Building wheel for ujson (setup.py) … error ERROR: Command errored out with exit status 1: command: ‘d:\anaconda3\python.exe’ -u -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘“’”‘C:\Users\SithumDanthanarayana\AppData\Local\Temp\pip-install-twl\_330k\ujson\_fe9b94f6056c4d548482abcc80f45de6\setup.py’“’”’; file=’“’”‘C:\Users\SithumDanthanarayana\AppData\Local\Temp\pip-install-twl\_330k\ujson\_fe9b94f6056c4d548482abcc80f45de6\setup.py’“’”’;f = getattr(tokenize, ‘“’”‘open’“’”’, open)(file) if os.path.exists(file) else io.StringIO(’“’”‘from setuptools import setup; setup()’“’”’);code = f.read().replace(’“’”’\r\n’“’”’, ‘“’”’\n’“’”’);f.close();exec(compile(code, file, ‘“’”‘exec’“’”’))’ bdist\_wheel -d ‘C:\Users\SithumDanthanarayana\AppData\Local\Temp\pip-wheel-\_6ly4jci’ cwd: C:\Users\SithumDanthanarayana\AppData\Local\Temp\pip-install-twl\_330k\ujson\_fe9b94f6056c4d548482abcc80f45de6 Complete output (14 lines): Warning: ‘classifiers’ should be a list, got type ‘filter’ running bdist\_wheel running build running build\_ext building ‘ujson’ extension creating build creating build\temp.win-amd64-3.8 creating build\temp.win-amd64-3.8\Release creating build\temp.win-amd64-3.8\Release\python creating build\temp.win-amd64-3.8\Release\lib C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -I./python -I./lib -Id:\anaconda3\include -Id:\anaconda3\include “-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\include” /Tc./python/ujson.c /Fobuild\temp.win-amd64-3.8\Release./python/ujson.obj -D\_GNU\_SOURCE ujson.c d:\anaconda3\include\pyconfig.h(59): fatal error C1083: Cannot open include file: ‘io.h’: No such file or directory error: command ‘C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe’ failed with exit status 2

 ![8c490bd32d6dd200cf3c589a7b55f0840a02ca56_2_1380x704](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/f/f/ff949251a3e707dacc061fc10087fcc08b1a0cdd.png) ![940dba95e4057d180e57c73e3e3bfda3b1bfcc55_2_1380x708](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/a/b/ab1ea12010c9fae0916939e64141be8f01f662c9.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:** [October 21, 2021, 11:12am UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/2 "2021-10-21T11:12:49Z")

</div>

@SithumDantha Welcome to the forum 💐

Please follow these steps for the installation of ROS and Rasa X 🙂

**Note:** You can ignore few steps, if you already performed it!

Please install Anaconda from [Anaconda | Individual Edition](https://www.anaconda.com/products/individual) , then create the conda environment using the following command

1. conda create -n rasa3 python=3.8
2. conda activate rasa 3

**PS:** If you using Linux, check the environment for the same.

**Note:** I’d recommend to create a fresh environment if not you can proceed with next steps:

**Note:** Downgrade pip 21 to pip version to 20.2.2(conda install pip==20.2.2)

**For Rasa Open Source:**

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

```

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

**For Installing basic project:**

`rasa init`

then if you need

**For Rasa-X Installation**

`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 (events and rasa ) if is showing alembic issue.

If you have any error in-between please share with us.

**Note:** You will see the Event Loop Close error in the terminal, you can ignore that, its an persistent issue with Rasa X and team is working on it.

I hope this will solve your issue. Good Luck!

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 12:26pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/3 "2021-10-21T12:26:33Z")

</div>

This will get long time, but not install

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/1/019b1ffbbceed2fd169eeb5c60d91de78110f5f3.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:** [October 21, 2021, 12:29pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/4 "2021-10-21T12:29:13Z")

</div>

@SithumDantha you are using Miniconda3, and I recommend to use Anaconda. Is it possible you can install Anaconda and follow the above steps? Or you have created the miniconda3 virtual environment? me confused.

@SithumDantha can you please briefly explain what you have done so far?

@SithumDantha Is that you following some video tutorial for installing anaconda or rasa? yes or no?

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 12:34pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/5 "2021-10-21T12:34:02Z")

</div>

I create virtual environment. last days i follow video tutorial

---

<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:** [October 21, 2021, 12:35pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/6 "2021-10-21T12:35:01Z")

</div>

@SithumDantha I can see, mean you not following my steps ☹ please follow and you will be able to install with ease. Try a fresh approach my friend.

**Note:** Please dn’t follow the video tutorial and just stick with the steps and you will able to archived your goal.

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 12:35pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/7 "2021-10-21T12:35:29Z")

</div>

now I followed your steps

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 1:43pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/8 "2021-10-21T13:43:09Z")

</div>

> [@nik202](#):
>
> pip install rasa-x==0.39.3 --extra-index-url [Simple Index](https://pypi.rasa.com/simple)

Iinstall anaconda and I did your steps, but I get this .

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/a/d/ad264fcd1ed175cc2e9f66c913d1654173534a7c.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:** [October 21, 2021, 6:31pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/9 "2021-10-21T18:31:36Z")

</div>

@SithumDantha share me proper screenshot with conda activated environment and while activating environment type` rasa --version` and share with me the screenshot.

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 6:49pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/10 "2021-10-21T18:49:46Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/3/6/36ba9c2f69b120d5ad682bd31a7520a024fa64b4.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:** [October 21, 2021, 6:51pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/11 "2021-10-21T18:51:46Z")

</div>

@SithumDantha Wrong, you not created the Conda environment and you install rasa directly in the base conda, please check my post: [Unable to build ujson - #2 by nik202](http://forum.rasa.com/t/unable-to-build-ujson/48645/2)

Please create the conda environment install rasa and rasa-sdk and then install rasa x

I am here for while do it and let me know if any error exist?

@SithumDantha **Note:** I can see you created the rasa3 environment please activate first rasa3 and then type `rasa --version` and share me the screenshot

Ok?

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 6:52pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/12 "2021-10-21T18:52:52Z")

</div>

yes. thanks for your help

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 6:53pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/13 "2021-10-21T18:53:51Z")

</div>

ok

---

<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:** [October 21, 2021, 6:54pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/14 "2021-10-21T18:54:46Z")

</div>

@SithumDantha Cool, do it I’m here only 🙂 Today you will able to install rasa and rasa x both 😉

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 7:02pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/15 "2021-10-21T19:02:32Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/d/c/dc24a1d99461e32c6dbeed49371b4935bcd2636e.png)

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 7:11pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/16 "2021-10-21T19:11:26Z")

</div>

> [@nik202](#):
>
> `pip install rasa-sdk==2.8.1'`

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/c/3/c3dbc1db3f4a861e209f8b4694fb6c9efc1cc8be.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:** [October 21, 2021, 7:14pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/17 "2021-10-21T19:14:21Z")

</div>

@SithumDantha perfect now first run the `rasa init` and create the default mood bot project and then talk with the bot and then /stop the bot and then install rasa x using command : `pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple`

Ok?

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 7:15pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/18 "2021-10-21T19:15:31Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/3X/0/0/003bb09dd7960300f1d75cd33836496b5b713930.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:** [October 21, 2021, 7:16pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/19 "2021-10-21T19:16:34Z")

</div>

@SithumDantha Ok, go on and install rasa x and follow my first post! I trust you, you will able to install rasa x 🙂

@SithumDantha do check is rasa x install or not using again the `rasa --version` command it should show rasa x version now with 0.39.3

---

<div class="post-metadata">

**Author:** ![SithumDantha](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/sithumdantha/32/17930_2.png) [@SithumDantha](https://forum.rasa.com/u/SithumDantha)\
**Post date:** [October 21, 2021, 7:19pm UTC](https://forum.rasa.com/t/unable-to-build-ujson/48645/20 "2021-10-21T19:19:54Z")

</div>

how long to install rasa-x? my os is windows 11.

[Next page](https://forum.rasa.com/t/unable-to-build-ujson/48645.md?page=2)
