Installation errors on Ubuntu20.4

Hello, I am trying to install rasa on ubuntu 20.4 and python 3.8.10 but getting an error and it is installing rasa 0.0.5 as seen in pip list . but post-installation, it is failing to recognize rasa command. Here is the error in installation:. Please let me know if any pointers:

Collecting psycopg2-binary<2.9.0,>=2.8.2 Using cached psycopg2-binary-2.8.6.tar.gz (384 kB) Preparing metadata (setup.py) … error ERROR: Command errored out with exit status 1: command: /home/swapnil/Documents/rasa/rasavenv/bin/python3 -c ‘import io, os, sys, setuptools, tokenize; sys.argv[0] = ‘"’"’/tmp/pip-install-vsn5btkr/psycopg2-binary_8e066ca794fd46819e3ecf1fd4ef46d0/setup.py’"’"’; file=’"’"’/tmp/pip-install-vsn5btkr/psycopg2-binary_8e066ca794fd46819e3ecf1fd4ef46d0/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’"’"’))’ egg_info --egg-base /tmp/pip-pip-egg-info-wah19lmn cwd: /tmp/pip-install-vsn5btkr/psycopg2-binary_8e066ca794fd46819e3ecf1fd4ef46d0/ Complete output (23 lines): running egg_info creating /tmp/pip-pip-egg-info-wah19lmn/psycopg2_binary.egg-info writing /tmp/pip-pip-egg-info-wah19lmn/psycopg2_binary.egg-info/PKG-INFO writing dependency_links to /tmp/pip-pip-egg-info-wah19lmn/psycopg2_binary.egg-info/dependency_links.txt writing top-level names to /tmp/pip-pip-egg-info-wah19lmn/psycopg2_binary.egg-info/top_level.txt writing manifest file ‘/tmp/pip-pip-egg-info-wah19lmn/psycopg2_binary.egg-info/SOURCES.txt’

Error: pg_config executable not found.

pg_config is required to build psycopg2 from source. Please add the directory containing pg_config to the $PATH or specify the full executable path with the option:

  python setup.py build_ext --pg-config /path/to/pg_config build ...

or with the pg_config option in ‘setup.cfg’.

If you prefer to avoid building psycopg2 from source, please install the PyPI ‘psycopg2-binary’ package instead.

For further information please check the ‘doc/src/install.rst’ file (also at https://www.psycopg.org/docs/install.html).


WARNING: Discarding https://files.pythonhosted.org/packages/fc/51/0f2c6aec5c59e5640f507b59567f63b9d73a9317898810b4db311da32dfc/psycopg2-binary-2.8.6.tar.gz#sha256=11b9c0ebce097180129e422379b824ae21c8f2a6596b159c7659e2e5a00e1aa0 (from Links for psycopg2-binary) (requires-python:>=2.7,!=3.0.,!=3.1.,!=3.2.,!=3.3.). Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

@09Apps can you please tell the steps you are following, in brief?

I am using Ubuntu 20.4 desktop on Virtual Machine which has Python 3.8.10. Have gone through the usual process of creating venv , activating it, and then ‘pip3 install rasa’. The install completes but the above errors are displayed and when I do pip list I see Rasa 0.0.5 installed. I tried uninstalling and reinstalling rasa but same error. I was just wondering if this is compatibility issue of Ubuntu 20 and I need to go back to ubuntu 18 or Python 3.7 ?

Now after installing package libpq-dev, I am not getting any error anymore, but still I am getting rasa 0.0.5 version installed and also rasa command is not recognized. Any pointers would be helpful - getting this issue on Ubuntu20.4 LTS with python 3.8.10

@09Apps Right, can you activate your environment and type rasa --version and share the details.

rasa --version gives rasa command not found pip3 list shows rasa 0.0.5

@09Apps can I recommend you one solution and will you able to follow those steps? yes or no?

Yes sure, looking for all help I can get. Here is the rasa install log if that helps.

Collecting rasa Using cached rasa-2.8.12-py3-none-any.whl (768 kB) Collecting psycopg2-binary<2.10.0,>=2.8.2 Using cached psycopg2_binary-2.9.1-cp38-cp38-manylinux_2_24_aarch64.whl (3.7 MB) Collecting oauth2client==4.1.3 Using cached oauth2client-4.1.3-py2.py3-none-any.whl (98 kB) Collecting sklearn-crfsuite<0.4,>=0.3 Using cached sklearn_crfsuite-0.3.6-py2.py3-none-any.whl (12 kB) Collecting kafka-python<3.0,>=1.4 Using cached kafka_python-2.0.2-py2.py3-none-any.whl (246 kB) Collecting pyTelegramBotAPI<4.0.0,>=3.7.3 Using cached pyTelegramBotAPI-3.8.3.tar.gz (104 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting fbmessenger<6.1.0,>=6.0.0 Using cached fbmessenger-6.0.0-py2.py3-none-any.whl (11 kB) Collecting numpy<1.20.0,>=1.19.2 Using cached numpy-1.19.5-cp38-cp38-manylinux2014_aarch64.whl (12.4 MB) Collecting colorclass<2.3,>=2.2 Using cached colorclass-2.2.0.tar.gz (17 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Requirement already satisfied: requests<3.0,>=2.23 in ./rasavenv/lib/python3.8/site-packages (from rasa) (2.26.0) Collecting jsonpickle<2.1,>=1.3 Using cached jsonpickle-2.0.0-py2.py3-none-any.whl (37 kB) Collecting python-dateutil<2.9,>=2.8 Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) Collecting questionary<1.10.0,>=1.5.1 Using cached questionary-1.9.0-py3-none-any.whl (32 kB) Collecting ujson<5.0,>=1.35 Using cached ujson-4.2.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (215 kB) Collecting sanic<20.12.0,>=19.12.2 Downloading sanic-20.9.1-py3-none-any.whl (79 kB) Collecting boto3<2.0,>=1.12 Using cached boto3-1.19.6-py3-none-any.whl (131 kB) Collecting attrs<21.3,>=19.3 Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB) Collecting slackclient<3.0.0,>=2.0.0 Using cached slackclient-2.9.3-py2.py3-none-any.whl (96 kB) Collecting ruamel.yaml<0.17.0,>=0.16.5 Using cached ruamel.yaml-0.16.13-py2.py3-none-any.whl (111 kB) Collecting sanic-jwt<1.7.0,>=1.6.0 Using cached sanic-jwt-1.6.0.tar.gz (19 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rocketchat_API<1.17.0,>=0.6.31 Using cached rocketchat_API-1.16.0-py3-none-any.whl (18 kB) Collecting colorhash<1.1.0,>=1.0.2 Using cached colorhash-1.0.3-py3-none-any.whl (4.0 kB) Collecting matplotlib<3.4,>=3.1 Using cached matplotlib-3.3.4.tar.gz (37.9 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting tensorflow-probability<0.14,>=0.11 Using cached tensorflow_probability-0.13.0-py2.py3-none-any.whl (5.4 MB) Collecting PyJWT[crypto]<3.0.0,>=2.0.0 Using cached PyJWT-2.3.0-py3-none-any.whl (16 kB) Collecting jsonschema<3.3,>=3.2 Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) Collecting python-engineio!=5.0.0,<6,>=4 Using cached python_engineio-4.3.0-py3-none-any.whl (52 kB) Collecting aio-pika<7.0.0,>=6.7.1 Using cached aio_pika-6.8.0-py3-none-any.whl (42 kB) Collecting rasa Using cached rasa-2.8.11-py3-none-any.whl (768 kB) Using cached rasa-2.8.10-py3-none-any.whl (768 kB) Using cached rasa-2.8.9-py3-none-any.whl (767 kB) Using cached rasa-2.8.8-py3-none-any.whl (767 kB) Collecting prompt-toolkit<3.0,>=2.0 Using cached prompt_toolkit-2.0.10-py3-none-any.whl (340 kB) Collecting joblib<1.1.0,>=0.15.1 Using cached joblib-1.0.1-py3-none-any.whl (303 kB) Collecting numpy<1.19,>=1.16 Using cached numpy-1.18.5.zip (5.4 MB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Requirement already satisfied: setuptools>=41.0.0 in ./rasavenv/lib/python3.8/site-packages (from rasa) (44.0.0) Collecting scikit-learn<0.25,>=0.22 Using cached scikit_learn-0.24.2-cp38-cp38-manylinux2014_aarch64.whl (26.5 MB) Collecting sentry-sdk<1.3.0,>=0.17.0 Using cached sentry_sdk-1.2.0-py2.py3-none-any.whl (133 kB) Collecting absl-py<0.14,>=0.9 Using cached absl_py-0.13.0-py3-none-any.whl (132 kB) Collecting terminaltables<3.2.0,>=3.1.0 Using cached terminaltables-3.1.0.tar.gz (12 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting mattermostwrapper<2.3,>=2.2 Using cached mattermostwrapper-2.2.tar.gz (2.5 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting tqdm<5.0,>=4.31 Using cached tqdm-4.62.3-py2.py3-none-any.whl (76 kB) Collecting twilio<6.51,>=6.26 Using cached twilio-6.50.1.tar.gz (457 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting packaging<21.0,>=20.0 Using cached packaging-20.9-py2.py3-none-any.whl (40 kB) Collecting aiohttp!=3.7.4.post0,<3.8,>=3.6 Using cached aiohttp-3.7.4-cp38-cp38-manylinux2014_aarch64.whl (1.5 MB) Collecting coloredlogs<16,>=10 Using cached coloredlogs-15.0.1-py2.py3-none-any.whl (46 kB) Collecting networkx<2.6,>=2.4 Using cached networkx-2.5.1-py3-none-any.whl (1.6 MB) Collecting rasa-sdk<3.0.0,>=2.8.1 Using cached rasa_sdk-2.8.2-py3-none-any.whl (43 kB) Collecting cloudpickle<1.7,>=1.2 Using cached cloudpickle-1.6.0-py3-none-any.whl (23 kB) Collecting redis<4.0,>=3.4 Using cached redis-3.5.3-py2.py3-none-any.whl (72 kB) Collecting scipy<2.0.0,>=1.4.1 Using cached scipy-1.7.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (27.4 MB) Collecting rasa Using cached rasa-2.8.7-py3-none-any.whl (767 kB) Using cached rasa-2.8.6-py3-none-any.whl (767 kB) Using cached rasa-2.8.5-py3-none-any.whl (766 kB) Using cached rasa-2.8.4-py3-none-any.whl (766 kB) Using cached rasa-2.8.3-py3-none-any.whl (766 kB) Using cached rasa-2.8.2-py3-none-any.whl (766 kB) Using cached rasa-2.8.1-py3-none-any.whl (765 kB) Using cached rasa-2.8.0-py3-none-any.whl (765 kB) Using cached rasa-2.7.2-py3-none-any.whl (738 kB) Collecting tensorflow_hub<0.11,>=0.10 Using cached tensorflow_hub-0.10.0-py2.py3-none-any.whl (107 kB) Collecting psycopg2-binary<2.9.0,>=2.8.2 Using cached psycopg2-binary-2.8.6.tar.gz (384 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting SQLAlchemy<1.4.0,>=1.3.3 Using cached SQLAlchemy-1.3.24-cp38-cp38-manylinux2014_aarch64.whl (1.3 MB) Collecting absl-py<0.13,>=0.9 Using cached absl_py-0.12.0-py3-none-any.whl (129 kB) Collecting tqdm<4.60,>=4.31 Using cached tqdm-4.59.0-py2.py3-none-any.whl (74 kB) Collecting attrs<20.4,>=19.3 Using cached attrs-20.3.0-py2.py3-none-any.whl (49 kB) Collecting regex<2020.10,>=2020.6 Using cached regex-2020.9.27.tar.gz (690 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa Using cached rasa-2.7.1-py3-none-any.whl (738 kB) Using cached rasa-2.7.0-py3-none-any.whl (737 kB) Using cached rasa-2.6.3-py3-none-any.whl (735 kB) Collecting sentry-sdk<0.20.0,>=0.17.0 Using cached sentry_sdk-0.19.5-py2.py3-none-any.whl (128 kB) Collecting joblib<0.16.0,>=0.15.1 Using cached joblib-0.15.1-py3-none-any.whl (298 kB) Collecting rasa Using cached rasa-2.6.2-py3-none-any.whl (734 kB) Using cached rasa-2.6.1-py3-none-any.whl (734 kB) Using cached rasa-2.6.0-py3-none-any.whl (733 kB) Using cached rasa-2.5.2-py3-none-any.whl (719 kB) Collecting dm-tree<=0.1.5 Using cached dm-tree-0.1.5.tar.gz (34 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa Using cached rasa-2.5.1-py3-none-any.whl (719 kB) Using cached rasa-2.5.0-py3-none-any.whl (718 kB) Using cached rasa-2.4.3-py3-none-any.whl (707 kB) Collecting questionary<1.6.0,>=1.5.1 Using cached questionary-1.5.2-py3-none-any.whl (26 kB) Collecting rasa Using cached rasa-2.4.2-py3-none-any.whl (707 kB) Using cached rasa-2.4.1-py3-none-any.whl (707 kB) Using cached rasa-2.4.0-py3-none-any.whl (706 kB) Using cached rasa-2.3.5-py3-none-any.whl (699 kB) Collecting absl-py<0.12,>=0.9 Using cached absl_py-0.11.0-py3-none-any.whl (127 kB) Collecting rocketchat_API<1.10.0,>=0.6.31 Using cached rocketchat_API-1.9.1-py3-none-any.whl (9.8 kB) Collecting tqdm<4.57,>=4.31 Using cached tqdm-4.56.2-py2.py3-none-any.whl (72 kB) Collecting rasa Using cached rasa-2.3.4-py3-none-any.whl (698 kB) Using cached rasa-2.3.3-py3-none-any.whl (697 kB) Using cached rasa-2.3.2-py3-none-any.whl (697 kB) Using cached rasa-2.3.1-py3-none-any.whl (697 kB) Using cached rasa-2.3.0-py3-none-any.whl (697 kB) Using cached rasa-2.2.10-py3-none-any.whl (689 kB) Collecting apscheduler<3.7,>=3.6 Using cached APScheduler-3.6.3-py2.py3-none-any.whl (58 kB) Collecting scikit-learn<0.24,>=0.22 Using cached scikit-learn-0.23.2.tar.gz (7.2 MB) Installing build dependencies: started Installing build dependencies: still running… Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Collecting jsonpickle<1.5,>=1.3 Using cached jsonpickle-1.4.2-py2.py3-none-any.whl (36 kB) Collecting twilio<6.46,>=6.26 Using cached twilio-6.45.4.tar.gz (457 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting python-socketio<4.7,>=4.4 Using cached python_socketio-4.6.1-py2.py3-none-any.whl (51 kB) Collecting tqdm<4.51,>=4.31 Using cached tqdm-4.50.2-py2.py3-none-any.whl (70 kB) Collecting ujson<4.0,>=1.35 Using cached ujson-3.2.0-cp38-cp38-manylinux2014_aarch64.whl (229 kB) Collecting pykwalify<1.8.0,>=1.7.0 Using cached pykwalify-1.7.0-py2.py3-none-any.whl (40 kB) Collecting rasa Using cached rasa-2.2.9-py3-none-any.whl (689 kB) Collecting numpy<2.0,>=1.16 Using cached numpy-1.21.3-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (13.0 MB) Collecting rasa Using cached rasa-2.2.8-py3-none-any.whl (689 kB) Using cached rasa-2.2.7-py3-none-any.whl (689 kB) Using cached rasa-2.2.6-py3-none-any.whl (689 kB) Using cached rasa-2.2.5-py3-none-any.whl (689 kB) Using cached rasa-2.2.4-py3-none-any.whl (688 kB) Collecting sanic-jwt<1.5.0,>=1.3.2 Using cached sanic-jwt-1.4.1.tar.gz (19 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa Using cached rasa-2.2.3-py3-none-any.whl (688 kB) Collecting PyJWT<1.8,>=1.7 Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Collecting rasa Using cached rasa-2.2.2-py3-none-any.whl (688 kB) Using cached rasa-2.2.1-py3-none-any.whl (688 kB) Using cached rasa-2.2.0-py3-none-any.whl (688 kB) Using cached rasa-2.1.3-py3-none-any.whl (648 kB) Using cached rasa-2.1.2-py3-none-any.whl (647 kB) Using cached rasa-2.1.1-py3-none-any.whl (647 kB) Using cached rasa-2.1.0-py3-none-any.whl (647 kB) Using cached rasa-2.0.8-py3-none-any.whl (626 kB) Collecting pika<1.2.0,>=1.1.0 Using cached pika-1.1.0-py2.py3-none-any.whl (148 kB) Collecting rasa Using cached rasa-2.0.7-py3-none-any.whl (625 kB) Using cached rasa-2.0.6-py3-none-any.whl (625 kB) Using cached rasa-2.0.5-py3-none-any.whl (625 kB) Using cached rasa-2.0.4-py3-none-any.whl (625 kB) Using cached rasa-2.0.3-py3-none-any.whl (624 kB) Using cached rasa-2.0.2-py3-none-any.whl (623 kB) Using cached rasa-2.0.1-py3-none-any.whl (621 kB) Using cached rasa-2.0.0-py3-none-any.whl (621 kB) Using cached rasa-1.10.2-py3-none-any.whl (510 kB) Collecting gevent<1.6,>=1.4 Using cached gevent-1.5.0.tar.gz (5.3 MB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Collecting matplotlib<3.3,>=3.1 Using cached matplotlib-3.2.2.tar.gz (40.3 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting pytz<2020.0,>=2019.1 Using cached pytz-2019.3-py2.py3-none-any.whl (509 kB) Collecting coloredlogs<11.0,>=10.0 Using cached coloredlogs-10.0-py2.py3-none-any.whl (47 kB) Collecting tensorflow-estimator==2.1.0 Using cached tensorflow_estimator-2.1.0-py2.py3-none-any.whl (448 kB) Collecting tensorflow_hub<0.9,>=0.7 Using cached tensorflow_hub-0.8.0-py2.py3-none-any.whl (101 kB) Collecting tensorflow-probability<0.10,>=0.7 Using cached tensorflow_probability-0.9.0-py2.py3-none-any.whl (3.2 MB) Collecting tqdm<4.46,>=4.31 Using cached tqdm-4.45.0-py2.py3-none-any.whl (60 kB) Collecting webexteamssdk<1.4.0,>=1.1.1 Using cached webexteamssdk-1.3.tar.gz (56 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting scikit-learn<0.23,>=0.22 Using cached scikit-learn-0.22.2.post1.tar.gz (6.9 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting cloudpickle<1.4,>=1.2 Using cached cloudpickle-1.3.0-py2.py3-none-any.whl (26 kB) Collecting kafka-python<2.0,>=1.4 Using cached kafka_python-1.4.7-py2.py3-none-any.whl (266 kB) Collecting networkx<2.5.0,>=2.4.0 Using cached networkx-2.4-py3-none-any.whl (1.6 MB) Collecting python-socketio<4.6,>=4.4 Using cached python_socketio-4.5.1-py2.py3-none-any.whl (51 kB) Collecting rasa-sdk<2.0.0,>=1.10.0 Using cached rasa_sdk-1.10.3-py3-none-any.whl (39 kB) Collecting aiohttp<3.7,>=3.6 Using cached aiohttp-3.6.3.tar.gz (1.1 MB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Collecting multidict<5.0,>=4.6 Using cached multidict-4.7.6.tar.gz (50 kB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Collecting pymongo[srv,tls]<3.9.0,>=3.8.0 Using cached pymongo-3.8.0.tar.gz (649 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting attrs<19.4,>=19.3 Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB) Collecting sanic<20.0.0,>=19.12.2 Using cached sanic-19.12.5-py3-none-any.whl (73 kB) Collecting sanic-cors<0.11.0,>=0.10.0b1 Using cached Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB) Collecting async_generator<1.11,>=1.10 Using cached async_generator-1.10-py3-none-any.whl (18 kB) Collecting python-telegram-bot<13.0,>=11.1 Using cached python_telegram_bot-12.8-py2.py3-none-any.whl (375 kB) Collecting rasa Using cached rasa-1.10.1-py3-none-any.whl (509 kB) Collecting packaging<19.1,>=19.0 Using cached packaging-19.0-py2.py3-none-any.whl (26 kB) Collecting rasa Using cached rasa-1.10.0-py3-none-any.whl (509 kB) Using cached rasa-1.9.7-py3-none-any.whl (497 kB) Collecting cloudpickle<1.3.0,>=1.2.0 Using cached cloudpickle-1.2.2-py2.py3-none-any.whl (25 kB) Collecting gevent<1.5.0,>=1.4.0 Using cached gevent-1.4.0.tar.gz (5.2 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting ruamel.yaml<0.16,>=0.15 Using cached ruamel.yaml-0.15.100.tar.gz (318 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting tensorflow_hub<0.8,>=0.7 Using cached tensorflow_hub-0.7.0-py2.py3-none-any.whl (89 kB) Collecting python-telegram-bot<12.0,>=11.1 Using cached python_telegram_bot-11.1.0-py2.py3-none-any.whl (326 kB) Collecting python-engineio<3.12,>=3.11 Using cached python_engineio-3.11.2-py2.py3-none-any.whl (49 kB) Collecting rasa Using cached rasa-1.9.6-py3-none-any.whl (497 kB) Using cached rasa-1.9.5-py3-none-any.whl (496 kB) Using cached rasa-1.9.4-py3-none-any.whl (495 kB) Using cached rasa-1.9.3-py3-none-any.whl (495 kB) Using cached rasa-1.9.2-py3-none-any.whl (495 kB) Using cached rasa-1.9.1-py3-none-any.whl (495 kB) Using cached rasa-1.9.0-py3-none-any.whl (495 kB) Using cached rasa-1.8.3-py3-none-any.whl (483 kB) Using cached rasa-1.8.2-py3-none-any.whl (483 kB) Using cached rasa-1.8.1-py3-none-any.whl (481 kB) Using cached rasa-1.8.0-py3-none-any.whl (481 kB) Using cached rasa-1.7.4-py3-none-any.whl (575 kB) Collecting sanic-jwt~=1.3 Using cached sanic_jwt-1.7.0-py3-none-any.whl (23 kB) Collecting redis~=3.3.5 Using cached redis-3.3.11-py2.py3-none-any.whl (66 kB) Collecting rocketchat-API~=0.6.0 Using cached rocketchat_API-0.6.36-py3-none-any.whl (9.5 kB) Collecting pika~=1.0.0 Using cached pika-1.0.1-py2.py3-none-any.whl (148 kB) Collecting tensor2tensor~=1.14.0 Using cached tensor2tensor-1.14.1-py2.py3-none-any.whl (1.6 MB) Collecting slackclient~=1.3 Using cached slackclient-1.3.2.tar.gz (16 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting scikit-learn~=0.20.2 Using cached scikit-learn-0.20.4.tar.gz (11.7 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting twilio~=6.0 Using cached twilio-6.63.2.tar.gz (490 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting questionary>=1.1.0 Using cached questionary-1.10.0-py3-none-any.whl (31 kB) Collecting rasa Using cached rasa-1.7.3-py3-none-any.whl (575 kB) Using cached rasa-1.7.2-py3-none-any.whl (575 kB) Using cached rasa-1.7.1-py3-none-any.whl (574 kB) Using cached rasa-1.7.0-py3-none-any.whl (573 kB) Using cached rasa-1.6.2-py3-none-any.whl (559 kB) Collecting rasa-sdk~=1.6.0 Using cached rasa_sdk-1.6.1-py2.py3-none-any.whl (32 kB) Collecting networkx~=2.3.0 Using cached networkx-2.3.zip (1.7 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa Using cached rasa-1.6.1-py3-none-any.whl (559 kB) Using cached rasa-1.6.0-py3-none-any.whl (558 kB) Using cached rasa-1.5.3-py3-none-any.whl (530 kB) Using cached rasa-1.5.2-py3-none-any.whl (529 kB) Using cached rasa-1.5.1-py3-none-any.whl (529 kB) Using cached rasa-1.5.0-py3-none-any.whl (527 kB) Using cached rasa-1.4.6-py3-none-any.whl (518 kB) Using cached rasa-1.4.5-py3-none-any.whl (517 kB) Using cached rasa-1.4.4-py3-none-any.whl (517 kB) Using cached rasa-1.4.3-py3-none-any.whl (518 kB) Collecting jsonschema~=2.6 Using cached jsonschema-2.6.0-py2.py3-none-any.whl (39 kB) Collecting aiohttp~=3.5 Using cached aiohttp-3.7.4.post0-cp38-cp38-manylinux2014_aarch64.whl (1.5 MB) Collecting absl-py>=0.8.0 Using cached absl_py-0.15.0-py3-none-any.whl (132 kB) Collecting webexteamssdk~=1.1 Using cached webexteamssdk-1.6-py3-none-any.whl (113 kB) Collecting gast==0.2.2 Using cached gast-0.2.2.tar.gz (10 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa-sdk~=1.4.0 Using cached rasa_sdk-1.4.0-py2.py3-none-any.whl (32 kB) Collecting apscheduler~=3.0 Using cached APScheduler-3.8.1-py2.py3-none-any.whl (59 kB) Collecting pydot~=1.4 Using cached pydot-1.4.2-py2.py3-none-any.whl (21 kB) Collecting matplotlib~=3.0 Using cached matplotlib-3.4.3-cp38-cp38-manylinux2014_aarch64.whl (9.0 MB) Collecting pymongo[srv,tls]~=3.8 Using cached pymongo-3.12.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (527 kB) Collecting rasa Using cached rasa-1.4.2-py3-none-any.whl (516 kB) Using cached rasa-1.4.1-py3-none-any.whl (516 kB) Using cached rasa-1.4.0-py3-none-any.whl (515 kB) Using cached rasa-1.3.10-py3-none-any.whl (507 kB) Collecting rasa-sdk~=1.3.0 Using cached rasa_sdk-1.3.3-py2.py3-none-any.whl (32 kB) Collecting sanic-cors~=0.9.0 Using cached Sanic_Cors-0.9.9.post4-py2.py3-none-any.whl (16 kB) Collecting rasa Using cached rasa-1.3.9-py3-none-any.whl (506 kB) Using cached rasa-1.3.8-py3-none-any.whl (505 kB) Using cached rasa-1.3.7-py3-none-any.whl (505 kB) Using cached rasa-1.3.6-py3-none-any.whl (505 kB) Using cached rasa-1.3.4-py3-none-any.whl (504 kB) Using cached rasa-1.3.3-py3-none-any.whl (503 kB) Using cached rasa-1.3.2-py3-none-any.whl (502 kB) Using cached rasa-1.3.1-py3-none-any.whl (502 kB) Using cached rasa-1.3.0-py3-none-any.whl (502 kB) Using cached rasa-1.2.12-py3-none-any.whl (471 kB) Collecting fakeredis~=1.0 Using cached fakeredis-1.6.1-py3-none-any.whl (38 kB) Collecting rasa Using cached rasa-1.2.11-py3-none-any.whl (471 kB) Using cached rasa-1.2.10-py3-none-any.whl (471 kB) Using cached rasa-1.2.9-py3-none-any.whl (471 kB) Using cached rasa-1.2.8-py3-none-any.whl (471 kB) Using cached rasa-1.2.7-py3-none-any.whl (471 kB) Using cached rasa-1.2.6-py3-none-any.whl (470 kB) Using cached rasa-1.2.5-py3-none-any.whl (470 kB) Using cached rasa-1.2.4-py3-none-any.whl (469 kB) Using cached rasa-1.2.3-py3-none-any.whl (469 kB) Using cached rasa-1.2.2-py3-none-any.whl (468 kB) Using cached rasa-1.2.1-py3-none-any.whl (468 kB) Using cached rasa-1.2.0-py3-none-any.whl (468 kB) Using cached rasa-1.1.8-py3-none-any.whl (464 kB) Using cached rasa-1.1.7-py3-none-any.whl (455 kB) Using cached rasa-1.1.6-py3-none-any.whl (453 kB) Using cached rasa-1.1.5-py3-none-any.whl (452 kB) Using cached rasa-1.1.4-py3-none-any.whl (447 kB) Using cached rasa-1.1.3-py3-none-any.whl (446 kB) Using cached rasa-1.1.2-py3-none-any.whl (444 kB) Using cached rasa-1.1.1-py3-none-any.whl (444 kB) Using cached rasa-1.1.0-py3-none-any.whl (444 kB) Using cached rasa-1.0.9-py3-none-any.whl (440 kB) Using cached rasa-1.0.8-py3-none-any.whl (440 kB) Using cached rasa-1.0.7-py3-none-any.whl (439 kB) Using cached rasa-1.0.6-py3-none-any.whl (438 kB) Using cached rasa-1.0.5-py3-none-any.whl (438 kB) Using cached rasa-1.0.4-py3-none-any.whl (438 kB) Using cached rasa-1.0.3-py3-none-any.whl (438 kB) Using cached rasa-1.0.2-py3-none-any.whl (438 kB) Using cached rasa-1.0.1-py3-none-any.whl (436 kB) Using cached rasa-1.0.0-py3-none-any.whl (436 kB) Using cached rasa-0.1.1-py3-none-any.whl (6.1 kB) Collecting rasa-nlu Using cached rasa_nlu-0.15.1-py3-none-any.whl (147 kB) Collecting rasa-core Using cached rasa_core-0.14.5-py3-none-any.whl (212 kB) Collecting pytz~=2018.9 Using cached pytz-2018.9-py2.py3-none-any.whl (510 kB) Collecting typing~=3.0 Using cached typing-3.7.4.3.tar.gz (78 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting flask~=1.0 Using cached Flask-1.1.4-py2.py3-none-any.whl (94 kB) Collecting networkx~=2.2 Using cached networkx-2.6.3-py3-none-any.whl (1.9 MB) Collecting fakeredis~=0.10.0 Using cached fakeredis-0.10.3-py2.py3-none-any.whl (27 kB) Collecting pika~=0.12.0 Using cached pika-0.12.0-py2.py3-none-any.whl (108 kB) Collecting rasa-core Using cached rasa_core-0.14.4-py3-none-any.whl (212 kB) Using cached rasa_core-0.14.3-py3-none-any.whl (212 kB) Using cached rasa_core-0.14.2-py3-none-any.whl (212 kB) Using cached rasa_core-0.14.1-py3-none-any.whl (212 kB) Collecting rasa-core-sdk~=0.13.1 Using cached rasa_core_sdk-0.13.1-py2.py3-none-any.whl (20 kB) Collecting rasa-core Using cached rasa_core-0.14.0-py3-none-any.whl (212 kB) Using cached rasa_core-0.13.8-py3-none-any.whl (205 kB) Collecting keras-preprocessing==1.0.5 Using cached Keras_Preprocessing-1.0.5-py2.py3-none-any.whl (30 kB) Collecting rasa-core-sdk~=0.12.1 Using cached rasa_core_sdk-0.12.2-py2.py3-none-any.whl (18 kB) Collecting flask-cors~=3.0 Using cached Flask_Cors-3.0.10-py2.py3-none-any.whl (14 kB) Collecting keras-applications==1.0.6 Using cached Keras_Applications-1.0.6-py2.py3-none-any.whl (44 kB) Collecting rasa-core Using cached rasa_core-0.13.7-py3-none-any.whl (205 kB) Using cached rasa_core-0.13.6-py3-none-any.whl (205 kB) Using cached rasa_core-0.13.5-py3-none-any.whl (204 kB) Using cached rasa_core-0.13.4-py3-none-any.whl (204 kB) Using cached rasa_core-0.13.3-py3-none-any.whl (204 kB) Using cached rasa_core-0.13.2-py3-none-any.whl (204 kB) Using cached rasa_core-0.13.1-py3-none-any.whl (204 kB) Using cached rasa_core-0.13.0-py3-none-any.whl (204 kB) Using cached rasa_core-0.12.4-py2.py3-none-any.whl (204 kB) Collecting pika~=0.11.2 Using cached pika-0.11.2-py2.py3-none-any.whl (107 kB) Collecting python-socketio~=2.0 Using cached python_socketio-2.1.2-py2.py3-none-any.whl (33 kB) Collecting packaging~=17.0 Using cached packaging-17.1-py2.py3-none-any.whl (24 kB) Collecting pyyaml~=3.12 Using cached PyYAML-3.13.tar.gz (270 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa-nlu Using cached rasa_nlu-0.13.8-py2.py3-none-any.whl (145 kB) Collecting six~=1.0 Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting scikit-learn~=0.19.0 Using cached scikit-learn-0.19.2.tar.gz (9.7 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa-core Using cached rasa_core-0.12.3-py2.py3-none-any.whl (204 kB) Using cached rasa_core-0.12.2-py2.py3-none-any.whl (203 kB) Collecting keras~=2.0 Using cached keras-2.6.0-py2.py3-none-any.whl (1.3 MB) Collecting rasa-core Using cached rasa_core-0.12.1-py2.py3-none-any.whl (203 kB) Using cached rasa_core-0.12.0-py2.py3-none-any.whl (201 kB) Using cached rasa_core-0.11.12-py2.py3-none-any.whl (179 kB) Collecting graphviz~=0.9.0 Using cached graphviz-0.9-py2.py3-none-any.whl (16 kB) Collecting rasa-core Using cached rasa_core-0.11.11-py2.py3-none-any.whl (179 kB) Using cached rasa_core-0.11.10-py2.py3-none-any.whl (179 kB) Using cached rasa_core-0.11.9-py2.py3-none-any.whl (179 kB) Using cached rasa_core-0.11.8-py2.py3-none-any.whl (179 kB) Using cached rasa_core-0.11.7-py2.py3-none-any.whl (178 kB) Using cached rasa_core-0.11.6-py2.py3-none-any.whl (178 kB) Using cached rasa_core-0.11.5-py2.py3-none-any.whl (178 kB) Using cached rasa_core-0.11.4-py2.py3-none-any.whl (178 kB) Using cached rasa_core-0.11.3-py2.py3-none-any.whl (168 kB) Using cached rasa_core-0.11.2-py2.py3-none-any.whl (166 kB) Using cached rasa_core-0.11.1-py2.py3-none-any.whl (166 kB) Collecting rasa-core-sdk~=0.11.0 Using cached rasa_core_sdk-0.11.5-py2.py3-none-any.whl (14 kB) Collecting jsonpickle~=0.9.0 Using cached jsonpickle-0.9.6.tar.gz (67 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting ConfigArgParse~=0.13.0 Using cached ConfigArgParse-0.13.0.tar.gz (31 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting h5py~=2.0 Using cached h5py-2.10.0.tar.gz (301 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting python-telegram-bot~=10.0 Using cached python_telegram_bot-10.1.0-py2.py3-none-any.whl (298 kB) Collecting graphviz~=0.8.0 Using cached graphviz-0.8.4-py2.py3-none-any.whl (16 kB) Collecting future~=0.16 Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting redis~=2.0 Using cached redis-2.10.6-py2.py3-none-any.whl (64 kB) Collecting fbmessenger~=5.0 Using cached fbmessenger-5.6.0-py2.py3-none-any.whl (11 kB) Collecting rasa-core Using cached rasa_core-0.11.0-py2.py3-none-any.whl (166 kB) Using cached rasa_core-0.10.4-py2.py3-none-any.whl (133 kB) Using cached rasa_core-0.10.3-py2.py3-none-any.whl (133 kB) Using cached rasa_core-0.10.2-py2.py3-none-any.whl (133 kB) Using cached rasa_core-0.10.1-py2.py3-none-any.whl (132 kB) Using cached rasa_core-0.10.0-py2.py3-none-any.whl (132 kB) Using cached rasa_core-0.9.8-py2.py3-none-any.whl (125 kB) Using cached rasa_core-0.9.7-py2.py3-none-any.whl (125 kB) Using cached rasa_core-0.9.6-py2.py3-none-any.whl (125 kB) Using cached rasa_core-0.9.5-py2.py3-none-any.whl (125 kB) Using cached rasa_core-0.9.4-py2.py3-none-any.whl (125 kB) Using cached rasa_core-0.9.3-py2.py3-none-any.whl (121 kB) Using cached rasa_core-0.9.2-py2.py3-none-any.whl (121 kB) Using cached rasa_core-0.9.1-py2.py3-none-any.whl (121 kB) Using cached rasa_core-0.9.0-py2.py3-none-any.whl (121 kB) Using cached rasa_core-0.8.6-py2.py3-none-any.whl (103 kB) Collecting flask Using cached Flask-2.0.2-py3-none-any.whl (95 kB) Collecting ruamel.yaml Using cached ruamel.yaml-0.17.16-py3-none-any.whl (109 kB) Collecting pandoc Using cached pandoc-1.1.0-py3-none-any.whl (27 kB) Collecting graphviz Using cached graphviz-0.17-py3-none-any.whl (18 kB) Collecting scikit-learn Using cached scikit_learn-1.0.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (26.6 MB) Collecting fbmessenger<5.0.0 Using cached fbmessenger-4.3.1-py2.py3-none-any.whl (10 kB) Collecting rasa-nlu Using cached rasa_nlu-0.11.5.tar.gz (55 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting python-telegram-bot Using cached python_telegram_bot-13.7-py3-none-any.whl (490 kB) Collecting ConfigArgParse Using cached ConfigArgParse-1.5.3-py3-none-any.whl (20 kB) Collecting rasa-core Using cached rasa_core-0.8.5.tar.gz (76 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting h5py Using cached h5py-3.5.0.tar.gz (384 kB) Installing build dependencies: started Installing build dependencies: finished with status ‘done’ Getting requirements to build wheel: started Getting requirements to build wheel: finished with status ‘done’ Installing backend dependencies: started Installing backend dependencies: finished with status ‘done’ Preparing metadata (pyproject.toml): started Preparing metadata (pyproject.toml): finished with status ‘done’ Collecting nbsphinx Using cached nbsphinx-0.8.7-py3-none-any.whl (25 kB) Collecting pykwalify<=1.6.0 Using cached pykwalify-1.6.0-py2.py3-none-any.whl (38 kB) Collecting rasa-core Using cached rasa_core-0.8.4.tar.gz (76 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.8.3.tar.gz (76 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting pykwalify Using cached pykwalify-1.8.0-py2.py3-none-any.whl (24 kB) Collecting rasa-core Using cached rasa_core-0.8.2.tar.gz (76 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.8.1.tar.gz (75 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.8.0.tar.gz (75 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.9.tar.gz (61 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting pymessenger Using cached pymessenger-0.0.7.0.tar.gz (3.6 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Collecting rasa-core Using cached rasa_core-0.7.7.tar.gz (61 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.6.tar.gz (60 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.5.tar.gz (60 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.4.tar.gz (60 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.3.tar.gz (59 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.2.tar.gz (59 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.1.tar.gz (60 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ Using cached rasa_core-0.7.0.tar.gz (60 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status ‘done’ INFO: pip is looking at multiple versions of rasa to determine which version is compatible with other requirements. This could take a while. Collecting rasa Using cached rasa-0.1.0-py3-none-any.whl (6.1 kB) Using cached rasa-0.0.5-py3-none-any.whl Requirement already satisfied: urllib3<1.27,>=1.21.1 in ./rasavenv/lib/python3.8/site-packages (from requests<3.0,>=2.23->rasa) (1.26.7) Requirement already satisfied: charset-normalizer~=2.0.0 in ./rasavenv/lib/python3.8/site-packages (from requests<3.0,>=2.23->rasa) (2.0.7) Requirement already satisfied: idna<4,>=2.5 in ./rasavenv/lib/python3.8/site-packages (from requests<3.0,>=2.23->rasa) (3.3) Requirement already satisfied: certifi>=2017.4.17 in ./rasavenv/lib/python3.8/site-packages (from requests<3.0,>=2.23->rasa) (2021.10.8) Installing collected packages: rasa Successfully installed rasa-0.0.5

@09Apps Please follow these steps for the installation of ROS and Rasa X :slight_smile:

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

Please install Anaconda from Anaconda | Individual Edition , 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 how to create the environment for the same.

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

Note: If you not able to install you can downgrade the pip version to 20.2

For Rasa Open Source:

`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.

pip install pip==20.2

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!

@09Apps if you only need ROS, so please dnt install rasa x ok ? and if you required please go ahead.

If you able to solve this please do close this thread while marking the solution tick next to this thread.