Error Installing Rasa X

I am trying to install Rasa X in Ubuntu but I am getting an error. I am using python 3.7.9 and pip version 20.2.2 I am using the following to install Rasa X: pip3 install rasa-x --extra-index-url https://pypi.rasa.com/simple

The error I am getting is:

Collecting rasa-x
  Downloading https://pypi.rasa.com/api/package/rasa-x/rasa_x-0.31.5-py3-none-any.whl (1.9 MB)
     |████████████████████████████████| 1.9 MB 874 kB/s 
Requirement already satisfied: sanic<20.0.0,>=19.12.2 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (19.12.2)
Requirement already satisfied: python-dateutil<2.9,>=2.8 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (2.8.1)
Requirement already satisfied: kafka-python<2.0,>=1.4 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.4.7)
Requirement already satisfied: sanic-cors<0.11.0,>=0.10.0.post3 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (0.10.0.post3)
Requirement already satisfied: jsonschema<4.0,>=3.2 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (3.2.0)
Collecting ujson<2.0,>=1.35
  Using cached ujson-1.35.tar.gz (192 kB)
Requirement already satisfied: setuptools>=41.0.0 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (47.1.0)
Requirement already satisfied: tensorflow-estimator<2.2.0,>=2.1.0 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (2.1.0)
Requirement already satisfied: questionary<1.6.0,>=1.5.1 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.5.2)
Requirement already satisfied: requests<3.0,>=2.23 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (2.24.0)
Requirement already satisfied: attrs<20.0,>=19.3 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (19.3.0)
Collecting cryptography<3.0,>=2.7
  Using cached cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl (2.7 MB)
Collecting GitPython<4.0.0,>=3.1.3
  Using cached GitPython-3.1.7-py3-none-any.whl (158 kB)
Requirement already satisfied: ruamel.yaml<0.17,>=0.16 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (0.16.10)
Requirement already satisfied: sanic-jwt<1.4.0,>=1.3.2 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.3.2)
Requirement already satisfied: SQLAlchemy<2.0.0,>=1.3.17 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.3.19)
Requirement already satisfied: psycopg2-binary<3.0.0,>=2.8.2 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (2.8.5)
Collecting isodate<0.7,>=0.6
  Using cached isodate-0.6.0-py2.py3-none-any.whl (45 kB)
Requirement already satisfied: rasa<2.0.0,>=1.9.5 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.10.10)
Processing /home/swarnav/.cache/pip/wheels/4e/b5/00/f93fe1c90b3d501774e91e2e99987f49d16019e40e4bd3afc3/alembic-1.4.2-py2.py3-none-any.whl
Requirement already satisfied: aiohttp<4.0,>=3.6 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (3.6.2)
Requirement already satisfied: pika<2.0.0,>=1.1.0 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (1.1.0)
Requirement already satisfied: apscheduler<4.0,>=3.6 in ./vrasa/lib/python3.7/site-packages (from rasa-x) (3.6.3)
Requirement already satisfied: multidict<5.0,>=4.0 in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (4.7.6)
Requirement already satisfied: uvloop>=0.5.3; sys_platform != "win32" and implementation_name == "cpython" in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (0.14.0)
Requirement already satisfied: websockets<9.0,>=7.0 in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (8.1)
Requirement already satisfied: httpx==0.9.3 in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (0.9.3)
Requirement already satisfied: httptools>=0.0.10 in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (0.1.1)
Requirement already satisfied: aiofiles>=0.3.0 in ./vrasa/lib/python3.7/site-packages (from sanic<20.0.0,>=19.12.2->rasa-x) (0.5.0)
Requirement already satisfied: six>=1.5 in ./vrasa/lib/python3.7/site-packages (from python-dateutil<2.9,>=2.8->rasa-x) (1.15.0)
Requirement already satisfied: sanic-plugins-framework>=0.9.0 in ./vrasa/lib/python3.7/site-packages (from sanic-cors<0.11.0,>=0.10.0.post3->rasa-x) (0.9.3)
Requirement already satisfied: importlib-metadata; python_version < "3.8" in ./vrasa/lib/python3.7/site-packages (from jsonschema<4.0,>=3.2->rasa-x) (1.7.0)
Requirement already satisfied: pyrsistent>=0.14.0 in ./vrasa/lib/python3.7/site-packages (from jsonschema<4.0,>=3.2->rasa-x) (0.16.0)
Requirement already satisfied: prompt-toolkit<4.0,>=2.0 in ./vrasa/lib/python3.7/site-packages (from questionary<1.6.0,>=1.5.1->rasa-x) (2.0.10)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./vrasa/lib/python3.7/site-packages (from requests<3.0,>=2.23->rasa-x) (1.25.10)
Requirement already satisfied: idna<3,>=2.5 in ./vrasa/lib/python3.7/site-packages (from requests<3.0,>=2.23->rasa-x) (2.10)
Requirement already satisfied: certifi>=2017.4.17 in ./vrasa/lib/python3.7/site-packages (from requests<3.0,>=2.23->rasa-x) (2020.6.20)
Requirement already satisfied: chardet<4,>=3.0.2 in ./vrasa/lib/python3.7/site-packages (from requests<3.0,>=2.23->rasa-x) (3.0.4)
Requirement already satisfied: cffi!=1.11.3,>=1.8 in ./vrasa/lib/python3.7/site-packages (from cryptography<3.0,>=2.7->rasa-x) (1.14.2)
Collecting gitdb<5,>=4.0.1
  Using cached gitdb-4.0.5-py3-none-any.whl (63 kB)
Requirement already satisfied: ruamel.yaml.clib>=0.1.2; platform_python_implementation == "CPython" and python_version < "3.9" in ./vrasa/lib/python3.7/site-packages (from ruamel.yaml<0.17,>=0.16->rasa-x) (0.2.0)
Requirement already satisfied: pyjwt in ./vrasa/lib/python3.7/site-packages (from sanic-jwt<1.4.0,>=1.3.2->rasa-x) (1.7.1)
Requirement already satisfied: colorclass<2.3,>=2.2 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2.2.0)
Requirement already satisfied: boto3<2.0,>=1.12 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.14.46)
Requirement already satisfied: regex<2020.7,>=2020.6 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2020.6.8)
Requirement already satisfied: terminaltables<3.2.0,>=3.1.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (3.1.0)
Requirement already satisfied: fbmessenger<6.1.0,>=6.0.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (6.0.0)
Requirement already satisfied: jsonpickle<1.5,>=1.3 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.4.1)
Requirement already satisfied: networkx<2.5.0,>=2.4.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2.4)
Requirement already satisfied: twilio<6.27,>=6.26 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (6.26.3)
Requirement already satisfied: python-socketio<4.6,>=4.4 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (4.5.1)
Requirement already satisfied: tensorflow-addons<0.8.0,>=0.7.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.7.1)
Requirement already satisfied: rocketchat_API<1.4.0,>=0.6.31 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.3.1)
Requirement already satisfied: packaging<21.0,>=20.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (20.4)
Requirement already satisfied: python-engineio<3.13,>=3.11 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (3.12.1)
Requirement already satisfied: sklearn-crfsuite<0.4,>=0.3 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.3.6)
Requirement already satisfied: pykwalify<1.8.0,>=1.7.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.7.0)
Requirement already satisfied: pydot<1.5,>=1.4 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.4.1)
Requirement already satisfied: absl-py<0.10,>=0.9 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.9.0)
Requirement already satisfied: tqdm<4.46,>=4.31 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (4.45.0)
Requirement already satisfied: coloredlogs<11.0,>=10.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (10.0)
Requirement already satisfied: numpy<2.0,>=1.16 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.19.1)
Requirement already satisfied: webexteamssdk<1.4.0,>=1.1.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.3)
Requirement already satisfied: tensorflow<2.2,>=2.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2.1.1)
Requirement already satisfied: colorhash<1.1.0,>=1.0.2 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.0.2)
Requirement already satisfied: mattermostwrapper<2.3,>=2.2 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2.2)
Requirement already satisfied: scikit-learn<0.23,>=0.22 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.22.2.post1)
Requirement already satisfied: python-telegram-bot<13.0,>=11.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (12.8)
Requirement already satisfied: matplotlib<3.3,>=3.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (3.2.2)
Requirement already satisfied: redis<4.0,>=3.4 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (3.5.3)
Requirement already satisfied: scipy<2.0.0,>=1.4.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.5.2)
Requirement already satisfied: gevent<1.6,>=1.4 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.5.0)
Requirement already satisfied: rasa-sdk<2.0.0,>=1.10.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.10.2)
Requirement already satisfied: async_generator<1.11,>=1.10 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.10)
Requirement already satisfied: pymongo[srv,tls]<3.9.0,>=3.8.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (3.8.0)
Requirement already satisfied: tensorflow-probability<0.10,>=0.7 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.9.0)
Requirement already satisfied: cloudpickle<1.4,>=1.2 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (1.3.0)
Requirement already satisfied: pytz<2020.0,>=2019.1 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2019.3)
Requirement already satisfied: tensorflow_hub<0.9,>=0.7 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (0.8.0)
Requirement already satisfied: oauth2client==4.1.3 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (4.1.3)
Requirement already satisfied: slackclient<3.0.0,>=2.0.0 in ./vrasa/lib/python3.7/site-packages (from rasa<2.0.0,>=1.9.5->rasa-x) (2.8.0)
Collecting python-editor>=0.3
  Using cached python_editor-1.0.4-py3-none-any.whl (4.9 kB)
Collecting Mako
  Using cached Mako-1.1.3-py2.py3-none-any.whl (75 kB)
Requirement already satisfied: yarl<2.0,>=1.0 in ./vrasa/lib/python3.7/site-packages (from aiohttp<4.0,>=3.6->rasa-x) (1.5.1)
Requirement already satisfied: async-timeout<4.0,>=3.0 in ./vrasa/lib/python3.7/site-packages (from aiohttp<4.0,>=3.6->rasa-x) (3.0.1)
Requirement already satisfied: tzlocal>=1.2 in ./vrasa/lib/python3.7/site-packages (from apscheduler<4.0,>=3.6->rasa-x) (2.1)
Requirement already satisfied: h2==3.* in ./vrasa/lib/python3.7/site-packages (from httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (3.2.0)
Requirement already satisfied: hstspreload in ./vrasa/lib/python3.7/site-packages (from httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (2020.8.18)
Requirement already satisfied: sniffio==1.* in ./vrasa/lib/python3.7/site-packages (from httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (1.1.0)
Requirement already satisfied: rfc3986<2,>=1.3 in ./vrasa/lib/python3.7/site-packages (from httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (1.4.0)
Requirement already satisfied: h11==0.8.* in ./vrasa/lib/python3.7/site-packages (from httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (0.8.1)
Requirement already satisfied: zipp>=0.5 in ./vrasa/lib/python3.7/site-packages (from importlib-metadata; python_version < "3.8"->jsonschema<4.0,>=3.2->rasa-x) (3.1.0)
Requirement already satisfied: wcwidth in ./vrasa/lib/python3.7/site-packages (from prompt-toolkit<4.0,>=2.0->questionary<1.6.0,>=1.5.1->rasa-x) (0.2.5)
Requirement already satisfied: pycparser in ./vrasa/lib/python3.7/site-packages (from cffi!=1.11.3,>=1.8->cryptography<3.0,>=2.7->rasa-x) (2.20)
Collecting smmap<4,>=3.0.1
  Using cached smmap-3.0.4-py2.py3-none-any.whl (25 kB)
Requirement already satisfied: s3transfer<0.4.0,>=0.3.0 in ./vrasa/lib/python3.7/site-packages (from boto3<2.0,>=1.12->rasa<2.0.0,>=1.9.5->rasa-x) (0.3.3)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in ./vrasa/lib/python3.7/site-packages (from boto3<2.0,>=1.12->rasa<2.0.0,>=1.9.5->rasa-x) (0.10.0)
Requirement already satisfied: botocore<1.18.0,>=1.17.46 in ./vrasa/lib/python3.7/site-packages (from boto3<2.0,>=1.12->rasa<2.0.0,>=1.9.5->rasa-x) (1.17.46)
Requirement already satisfied: decorator>=4.3.0 in ./vrasa/lib/python3.7/site-packages (from networkx<2.5.0,>=2.4.0->rasa<2.0.0,>=1.9.5->rasa-x) (4.4.2)
Requirement already satisfied: pysocks; python_version >= "3.0" in ./vrasa/lib/python3.7/site-packages (from twilio<6.27,>=6.26->rasa<2.0.0,>=1.9.5->rasa-x) (1.7.1)
Requirement already satisfied: pyparsing>=2.0.2 in ./vrasa/lib/python3.7/site-packages (from packaging<21.0,>=20.0->rasa<2.0.0,>=1.9.5->rasa-x) (2.4.7)
Requirement already satisfied: tabulate in ./vrasa/lib/python3.7/site-packages (from sklearn-crfsuite<0.4,>=0.3->rasa<2.0.0,>=1.9.5->rasa-x) (0.8.7)
Requirement already satisfied: python-crfsuite>=0.8.3 in ./vrasa/lib/python3.7/site-packages (from sklearn-crfsuite<0.4,>=0.3->rasa<2.0.0,>=1.9.5->rasa-x) (0.9.7)
Requirement already satisfied: PyYAML>=3.11 in ./vrasa/lib/python3.7/site-packages (from pykwalify<1.8.0,>=1.7.0->rasa<2.0.0,>=1.9.5->rasa-x) (5.3.1)
Requirement already satisfied: docopt>=0.6.2 in ./vrasa/lib/python3.7/site-packages (from pykwalify<1.8.0,>=1.7.0->rasa<2.0.0,>=1.9.5->rasa-x) (0.6.2)
Requirement already satisfied: humanfriendly>=4.7 in ./vrasa/lib/python3.7/site-packages (from coloredlogs<11.0,>=10.0->rasa<2.0.0,>=1.9.5->rasa-x) (8.2)
Requirement already satisfied: future in ./vrasa/lib/python3.7/site-packages (from webexteamssdk<1.4.0,>=1.1.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.18.2)
Requirement already satisfied: requests-toolbelt in ./vrasa/lib/python3.7/site-packages (from webexteamssdk<1.4.0,>=1.1.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.9.1)
Requirement already satisfied: keras-applications>=1.0.8 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.0.8)
Requirement already satisfied: termcolor>=1.1.0 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.1.0)
Requirement already satisfied: opt-einsum>=2.3.2 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (3.3.0)
Requirement already satisfied: wheel>=0.26; python_version >= "3" in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.35.1)
Requirement already satisfied: wrapt>=1.11.1 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.12.1)
Requirement already satisfied: keras-preprocessing==1.1.0 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.1.0)
Collecting gast==0.2.2
  Downloading gast-0.2.2.tar.gz (10 kB)
Requirement already satisfied: protobuf>=3.8.0 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (3.13.0)
Requirement already satisfied: grpcio>=1.8.6 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.31.0)
Requirement already satisfied: google-pasta>=0.1.6 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.2.0)
Requirement already satisfied: tensorboard<2.2.0,>=2.1.0 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (2.1.1)
Requirement already satisfied: astor>=0.6.0 in ./vrasa/lib/python3.7/site-packages (from tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.8.1)
Requirement already satisfied: joblib>=0.11 in ./vrasa/lib/python3.7/site-packages (from scikit-learn<0.23,>=0.22->rasa<2.0.0,>=1.9.5->rasa-x) (0.16.0)
Requirement already satisfied: tornado>=5.1 in ./vrasa/lib/python3.7/site-packages (from python-telegram-bot<13.0,>=11.1->rasa<2.0.0,>=1.9.5->rasa-x) (6.0.4)
Requirement already satisfied: cycler>=0.10 in ./vrasa/lib/python3.7/site-packages (from matplotlib<3.3,>=3.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./vrasa/lib/python3.7/site-packages (from matplotlib<3.3,>=3.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.2.0)
Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in ./vrasa/lib/python3.7/site-packages (from gevent<1.6,>=1.4->rasa<2.0.0,>=1.9.5->rasa-x) (0.4.16)
Requirement already satisfied: dnspython<2.0.0,>=1.13.0; extra == "srv" in ./vrasa/lib/python3.7/site-packages (from pymongo[srv,tls]<3.9.0,>=3.8.0->rasa<2.0.0,>=1.9.5->rasa-x) (1.16.0)
Requirement already satisfied: pyasn1>=0.1.7 in ./vrasa/lib/python3.7/site-packages (from oauth2client==4.1.3->rasa<2.0.0,>=1.9.5->rasa-x) (0.4.8)
Requirement already satisfied: httplib2>=0.9.1 in ./vrasa/lib/python3.7/site-packages (from oauth2client==4.1.3->rasa<2.0.0,>=1.9.5->rasa-x) (0.18.1)
Requirement already satisfied: rsa>=3.1.4 in ./vrasa/lib/python3.7/site-packages (from oauth2client==4.1.3->rasa<2.0.0,>=1.9.5->rasa-x) (4.6)
Requirement already satisfied: pyasn1-modules>=0.0.5 in ./vrasa/lib/python3.7/site-packages (from oauth2client==4.1.3->rasa<2.0.0,>=1.9.5->rasa-x) (0.2.8)
Collecting MarkupSafe>=0.9.2
  Using cached MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl (27 kB)
Requirement already satisfied: typing-extensions>=3.7.4; python_version < "3.8" in ./vrasa/lib/python3.7/site-packages (from yarl<2.0,>=1.0->aiohttp<4.0,>=3.6->rasa-x) (3.7.4.2)
Requirement already satisfied: hpack<4,>=3.0 in ./vrasa/lib/python3.7/site-packages (from h2==3.*->httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (3.0.0)
Requirement already satisfied: hyperframe<6,>=5.2.0 in ./vrasa/lib/python3.7/site-packages (from h2==3.*->httpx==0.9.3->sanic<20.0.0,>=19.12.2->rasa-x) (5.2.0)
Requirement already satisfied: docutils<0.16,>=0.10 in ./vrasa/lib/python3.7/site-packages (from botocore<1.18.0,>=1.17.46->boto3<2.0,>=1.12->rasa<2.0.0,>=1.9.5->rasa-x) (0.15.2)
Requirement already satisfied: h5py in ./vrasa/lib/python3.7/site-packages (from keras-applications>=1.0.8->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (2.10.0)
Requirement already satisfied: markdown>=2.6.8 in ./vrasa/lib/python3.7/site-packages (from tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (3.2.2)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in ./vrasa/lib/python3.7/site-packages (from tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (0.4.1)
Requirement already satisfied: google-auth<2,>=1.6.3 in ./vrasa/lib/python3.7/site-packages (from tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.20.1)
Requirement already satisfied: werkzeug>=0.11.15 in ./vrasa/lib/python3.7/site-packages (from tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.0.1)
Requirement already satisfied: requests-oauthlib>=0.7.0 in ./vrasa/lib/python3.7/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (1.3.0)
Requirement already satisfied: cachetools<5.0,>=2.0.0 in ./vrasa/lib/python3.7/site-packages (from google-auth<2,>=1.6.3->tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (4.1.1)
Requirement already satisfied: oauthlib>=3.0.0 in ./vrasa/lib/python3.7/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard<2.2.0,>=2.1.0->tensorflow<2.2,>=2.1->rasa<2.0.0,>=1.9.5->rasa-x) (3.1.0)
Building wheels for collected packages: ujson, gast
  Building wheel for ujson (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /home/swarnav/Desktop/rasa/vrasa/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d07c2nsp/ujson/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d07c2nsp/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 /tmp/pip-wheel-qeqv3904
       cwd: /tmp/pip-install-d07c2nsp/ujson/
  Complete output (16 lines):
  Warning: 'classifiers' should be a list, got type 'filter'
  running bdist_wheel
  running build
  running build_ext
  building 'ujson' extension
  creating build
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/python
  creating build/temp.linux-x86_64-3.7/lib
  x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-n1NpHY/python3.7-3.7.9=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-n1NpHY/python3.7-3.7.9=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./python -I./lib -I/home/swarnav/Desktop/rasa/vrasa/include -I/usr/include/python3.7m -c ./python/ujson.c -o build/temp.linux-x86_64-3.7/./python/ujson.o -D_GNU_SOURCE
  In file included from ./python/ujson.c:39:
  ./python/py_defines.h:39:10: fatal error: Python.h: No such file or directory
     39 | #include <Python.h>
        |          ^~~~~~~~~~
  compilation terminated.
  error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
  ----------------------------------------
  ERROR: Failed building wheel for ujson
  Running setup.py clean for ujson
  Building wheel for gast (setup.py) ... done
  Created wheel for gast: filename=gast-0.2.2-py3-none-any.whl size=7540 sha256=a7015099d91c2625ccd270975895bda34a0e752b8de89cd765aaaf4d699b676f
  Stored in directory: /home/swarnav/.cache/pip/wheels/21/7f/02/420f32a803f7d0967b48dd823da3f558c5166991bfd204eef3
Successfully built gast
Failed to build ujson
DEPRECATION: Could not build wheels for ujson which do not use PEP 517. pip will fall back to legacy 'setup.py install' for these. pip 21.0 will remove support for this functionality. A possible replacement is to fix the wheel build issue reported above. You can find discussion regarding this at https://github.com/pypa/pip/issues/8368.
Installing collected packages: ujson, cryptography, smmap, gitdb, GitPython, isodate, python-editor, MarkupSafe, Mako, alembic, rasa-x, gast
  Attempting uninstall: ujson
    Found existing installation: ujson 2.0.3
    Uninstalling ujson-2.0.3:
      Successfully uninstalled ujson-2.0.3
    Running setup.py install for ujson ... error
    ERROR: Command errored out with exit status 1:
     command: /home/swarnav/Desktop/rasa/vrasa/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d07c2nsp/ujson/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d07c2nsp/ujson/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hzf32pii/install-record.txt --single-version-externally-managed --compile --install-headers /home/swarnav/Desktop/rasa/vrasa/include/site/python3.7/ujson
         cwd: /tmp/pip-install-d07c2nsp/ujson/
    Complete output (16 lines):
    Warning: 'classifiers' should be a list, got type 'filter'
    running install
    running build
    running build_ext
    building 'ujson' extension
    creating build
    creating build/temp.linux-x86_64-3.7
    creating build/temp.linux-x86_64-3.7/python
    creating build/temp.linux-x86_64-3.7/lib
    x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fdebug-prefix-map=/build/python3.7-n1NpHY/python3.7-3.7.9=. -fstack-protector-strong -Wformat -Werror=format-security -g -fdebug-prefix-map=/build/python3.7-n1NpHY/python3.7-3.7.9=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I./python -I./lib -I/home/swarnav/Desktop/rasa/vrasa/include -I/usr/include/python3.7m -c ./python/ujson.c -o build/temp.linux-x86_64-3.7/./python/ujson.o -D_GNU_SOURCE
    In file included from ./python/ujson.c:39:
    ./python/py_defines.h:39:10: fatal error: Python.h: No such file or directory
       39 | #include <Python.h>
          |          ^~~~~~~~~~
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
    ----------------------------------------
  Rolling back uninstall of ujson
  Moving to /home/swarnav/Desktop/rasa/vrasa/lib/python3.7/site-packages/ujson-2.0.3.dist-info/
   from /home/swarnav/Desktop/rasa/vrasa/lib/python3.7/site-packages/~json-2.0.3.dist-info
  Moving to /home/swarnav/Desktop/rasa/vrasa/lib/python3.7/site-packages/ujson.cpython-37m-x86_64-linux-gnu.so
   from /tmp/pip-uninstall-cf4jz36z/ujson.cpython-37m-x86_64-linux-gnu.so
ERROR: Command errored out with exit status 1: /home/swarnav/Desktop/rasa/vrasa/bin/python3.7 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-d07c2nsp/ujson/setup.py'"'"'; __file__='"'"'/tmp/pip-install-d07c2nsp/ujson/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-hzf32pii/install-record.txt --single-version-externally-managed --compile --install-headers /home/swarnav/Desktop/rasa/vrasa/include/site/python3.7/ujson Check the logs for full command output.

@Swarnav install ubantu version 18.06 which have by default version 3.6 and then try to install.It’s works on my case.