Rasa X Local Install on macOS Big Sur

Hello Community,

I am new to Rasa and have tried to install Rasa X a number of times but the install keeps on taking forever and does not complete. Any help would be greatly appreciated. Here is an excerpt from my IDE…

INFO: pip is looking at multiple versions of httptools to determine which version is compatible with other requirements. This could take a while. Using cached httptools-0.0.10.tar.gz (98 kB) INFO: pip is looking at multiple versions of h11 to determine which version is compatible with other requirements. This could take a while. Collecting h11<0.10,>=0.8 Using cached h11-0.9.0-py2.py3-none-any.whl (53 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached h11-0.8.1-py2.py3-none-any.whl (55 kB) Using cached h11-0.8.0-py2.py3-none-any.whl (55 kB) INFO: pip is looking at multiple versions of aiofiles to determine which version is compatible with other requirements. This could take a while. Collecting aiofiles>=0.6.0 Using cached aiofiles-0.7.0-py3-none-any.whl (13 kB) INFO: pip is looking at multiple versions of h11 to determine which version is compatible with other requirements. This could take a while. Using cached aiofiles-0.6.0-py3-none-any.whl (11 kB) INFO: pip is looking at multiple versions of sniffio to determine which version is compatible with other requirements. This could take a while. Collecting sniffio Using cached sniffio-1.2.0-py3-none-any.whl (10 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking Using cached sniffio-1.1.0-py3-none-any.whl (4.5 kB) INFO: pip is looking at multiple versions of aiofiles to determine which version is compatible with other requirements. This could take a while. Using cached sniffio-1.0.0-py3-none-any.whl (4.4 kB) INFO: pip is looking at multiple versions of httpcore to determine which version is compatible with other requirements. This could take a while. Collecting httpcore==0.11.* Using cached httpcore-0.11.1-py3-none-any.whl (52 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking INFO: pip is looking at multiple versions of sniffio to determine which version is compatible with other requirements. This could take a while. Using cached httpcore-0.11.0-py3-none-any.whl (52 kB) INFO: pip is looking at multiple versions of httpx to determine which version is compatible with other requirements. This could take a while. Collecting httpx==0.15.4 Using cached httpx-0.15.4-py3-none-any.whl (65 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking INFO: pip is looking at multiple versions of sanic to determine which version is compatible with other requirements. This could take a while. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, ConnectionResetError(54, ‘Connection reset by peer’))’: /simple/sanic/ WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by ‘ProtocolError(‘Connection aborted.’, ConnectionResetError(54, ‘Connection reset by peer’))’: /simple/sanic/ Collecting sanic<21.0.0,>=19.12.2 Using cached sanic-20.12.3-py3-none-any.whl (80 kB) INFO: pip is looking at multiple versions of httpcore to determine which version is compatible with other requirements. This could take a while. Using cached sanic-20.12.2-py3-none-any.whl (79 kB) INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking

try: pip install --use-deprecated=legacy-resolver rasa-x --extra-index-url https://pypi.rasa.com/simple

1 Like

Hi Sven Andreas,

Thank you so much for your help. I tried d your suggestion and I got the following error. Any advice.

ERROR: pip’s legacy dependency resolver does not consider dependency conflicts when selecting packages. This behaviour is the source of the following dependency conflicts. sanic-jwt 1.6.0 requires pyjwt==2.0.0, but you’ll have pyjwt 2.1.0 which is incompatible. Successfully installed GitPython-3.1.18 Mako-1.1.4 MarkupSafe-2.0.1 alembic-1.4.3 attrs-19.3.0 croniter-1.0.15 gitdb-4.0.7 isodate-0.6.0 kafka-python-1.4.7 pika-1.2.0 python-editor-1.0.4 questionary-1.5.2 rasa-x-0.41.1 sanic-jwt-1.6.0 smmap-4.0.0 ujson-1.35

Best,

Tauseef

i could ignore this version error, but you can change the version:

sanic-jwt 1.6.0 requires pyjwt==2.0.0, but you’ll have pyjwt 2.1.0 which is incompatible.

1 Like

Thank you so much! It worked and I have Rasa X up and running.

I really appreciate your help! Thank you again!