Problem installing Rasa X Windows 10/64 - ujson wheel fail

Hello - I keep getting the following error message while installing Rasa X for 64-bit Windows 10. It is failing trying to build the ujson wheel. I’ve tried all the tips I can find online, here in this forum, and through videos - help would be greatly appreciated thank you!

Building wheels for collected packages: ujson Building wheel for ujson (setup.py) … error ERROR: Command errored out with exit status 1: command: ‘C:\Users\Aime\anaconda3\envs\rasa\python.exe’ -u -c ‘import sys, setuptools, tokenize; sys.argv[0] = ‘"’"‘C:\Users\Aime\AppData\Local\Temp\pip-install-iw5u1k92\ujson\setup.py’"’"’; file=’"’"‘C:\Users\Aime\AppData\Local\Temp\pip-install-iw5u1k92\ujson\setup.py’"’"’;f=getattr(tokenize, ‘"’"‘open’"’"’, open)(file);code=f.read().replace(’"’"’\r\n’"’"’, ‘"’"’\n’"’"’);f.close();exec(compile(code, file, ‘"’"‘exec’"’"’))’ bdist_wheel -d ‘C:\Users\Aime\AppData\Local\Temp\pip-wheel-45rds2_9’ cwd: C:\Users\Aime\AppData\Local\Temp\pip-install-iw5u1k92\ujson
Complete output (6 lines): Warning: ‘classifiers’ should be a list, got type ‘filter’ running bdist_wheel running build running build_ext building ‘ujson’ extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools”: Microsoft C++ Build Tools - Visual Studio

ERROR: Failed building wheel for ujson

Hello, I have the same issue, did you solve it?

@EvanMath Can you elaborate more on your current error and how it’s generated?

@nik202 thank you for your reply. I solved it. First I did the next steps:

pip uninstall ujson
conda remove ujson
conda install ujson==1.35
pip install --upgrade setuptools

and then by following your solution from here Error when run rasa X - #3 by nik202.

Now everything is running perfect.

@EvanMath Great!

1 Like