Pip3 install rasa, MacOS, Failed to build ujson


My system config where I am trying to install rasa is:

  • MacOS Catalina, version 10.15.3
  • Python version: Python 3.6.7

I am trying to install rasa into the brand new virtual environment using: (new_venv)$ pip3 install rasa

The installation is failing to install ujson (see picture)

Now, I also found a solution (that is probably not ideal): (new_venv)$ sudo CFLAGS=-stdlib=libc++ pip install rasa

I am posting FYI, that I discovered this issue.

Thanks for sharing & welcome to the Rasa forums!

Would you mind filing a bug report for this on GitHub? Go here: https://github.com/RasaHQ/rasa/issues/new/choose and click on “Get started” next to “Bug report”

Ok, wanted to fill it, but I checked and it seems that ujosn has now version 1.35 instead of 2.0.2 so now the install is NOT failing. Thanks.

1 Like

Oh good, glad to hear you got it sorted! :grin: