Windows installtion of Rasa x

@nik202 I am also getting same error while installing rasa-x what are the compatible version to use rasa-x

Building wheel for ujson (setup.py) … error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [6 lines of output] 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 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for ujson Running setup.py clean for ujson Failed to build ujson Installing collected packages: ujson, python-editor, pika, passlib, smmap, sanic, MarkupSafe, lxml, isodate, decorator, attrs, aioredis, xmlsec, sanic-cors, questionary, networkx, Mako, gitdb, croniter, python3-saml, GitPython, alembic, rasa-x Attempting uninstall: ujson Found existing installation: ujson 4.3.0 Uninstalling ujson-4.3.0: Successfully uninstalled ujson-4.3.0 Running setup.py install for ujson … error error: subprocess-exited-with-error

× Running setup.py install for ujson did not run successfully. │ exit code: 1 ╰─> [8 lines of output] Warning: ‘classifiers’ should be a list, got type ‘filter’ running install d:\kushala\envs\rasa\lib\site-packages\setuptools\command\install.py:37: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. setuptools.SetuptoolsDeprecationWarning, 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 [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip. WARNING: No metadata found in d:\kushala\envs\rasa\lib\site-packages Rolling back uninstall of ujson Moving to d:\kushala\envs\rasa\lib\site-packages\ujson-4.3.0.dist-info
from d:\kushala\envs\rasa\lib\site-packages~json-4.3.0.dist-info Moving to d:\kushala\envs\rasa\lib\site-packages\ujson.cp37-win_amd64.pyd from C:\Users\Admin\AppData\Local\Temp\pip-uninstall-gu14fr2_\ujson.cp37-win_amd64.pyd error: legacy-install-failure

× Encountered error while trying to install package. ╰─> ujson

note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.

I used the C++ the last version

@Kushala its mentioned you need to install C++ build which is suggested by Chris and whilst installing rasa did you followed some awesome video tutorial? is that right :stuck_out_tongue:

yeah ,same procedure but it didn’t work I am installing rasa-x from 6 days but i couldn’t @nik202

@Kushala you have not answered my question, did you use any video tutorial if yes please share the link.

Which version you are trying to install or any installation link?

Installing Rasa Open Source 3.x: Windows 10 (64 bit) - YouTube @nik202

I used to follow the same procedure but it didn’t work I am getting the same error while installing rasa - x now i used to install updated version ,now also i could not download it

@Kushala hmmm got it…when you are free on weekend do let me know to evening.

please clear the issue ,i need to install rasa x asap @nik202

Hi,

I tried to install and setup Rasa X 0.42.6 version on my pc. But I could not install it. I keep getting some errors as below:

pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple/rasa-x/rasa-x-0.42.6.tar.gz

These are the versions I installed:

image

I tried to install using this below command then it install latest version of Rasa x. Then rasa getting errors because of dependencies incompatible.

pip3 install rasa-x -i https://pypi.rasa.com/simple

So, how do I install Rasa open-source 2.x version and compatible Rasa x version locally windows. Can someone please help me asap.

Thank you.

@nik202 can you help me to fix this error. Thank you.

Hi there,
I had some troubles as well an @nik202 helped me. These are the steps I had to follow:

  1. Un-installed Visual Studio
  2. Re-installed Visual Studio making sure I had the C++ build tools
  3. removed the old virtual environment & created a new virtual environment conda create -n proto2 pyhton==3.8 anaconda
  4. conda activate proto2
  5. pip install rasa==2.8.1 6. pip install rasa-sdk==2.8.1 7. rasa init → then I followed the instructions
  6. pip install rasa-x==0.39.3 --extra-index-url https://pypi.rasa.com/simple
  7. cd into project folder an ran rasa x
  8. I had sanic-related errors → pip install sanic-jwt==1.6.0
  9. I had sqlalchemy-related errors → pip install sqlalchemy==1.3.22
  10. I had alembic issues → I deleted .db-files

I hope that helps you! Good luck

1 Like