Rasa installation (1.9.5) error in Ubuntu

I am getting this error while installing rasa.

Downloading tensorflow_addons-0.8.3-cp36-cp36m-manylinux2010_x86_64.whl (1.0 MB) |████████████████████████████████| 1.0 MB 28.3 MB/s Collecting twilio<6.27,>=6.26 Downloading twilio-6.26.3-py2.py3-none-any.whl (979 kB) |████████████████████████████████| 979 kB 26.3 MB/s Collecting multidict<5.0,>=4.6 Downloading multidict-4.7.5-cp36-cp36m-manylinux1_x86_64.whl (148 kB) |████████████████████████████████| 148 kB 41.9 MB/s Collecting packaging<19.1,>=19.0 Downloading packaging-19.0-py2.py3-none-any.whl (26 kB) Collecting sanic-cors<0.11.0,>=0.10.0b1 Downloading Sanic_Cors-0.10.0.post3-py2.py3-none-any.whl (17 kB) Collecting ruamel.yaml<0.16,>=0.15 Downloading ruamel.yaml-0.15.100-cp36-cp36m-manylinux1_x86_64.whl (656 kB) |████████████████████████████████| 656 kB 27.4 MB/s Collecting SQLAlchemy<1.4.0,>=1.3.3 Downloading SQLAlchemy-1.3.15.tar.gz (6.1 MB) |████████████████████████████████| 6.1 MB 27.7 MB/s Installing build dependencies … done Getting requirements to build wheel … error ERROR: Command errored out with exit status 1: command: /home/ubuntu/venv/bin/python3 /home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpsa7jimyf cwd: /tmp/pip-install-u36m_41h/SQLAlchemy Complete output (10 lines): Traceback (most recent call last): File “/home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py”, line 257, in main() File “/home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py”, line 240, in main json_out[‘return_val’] = hook(**hook_input[‘kwargs’]) File “/home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py”, line 85, in get_requires_for_build_wheel backend = _build_backend() File “/home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py”, line 76, in _build_backend obj = getattr(obj, path_part) AttributeError: module ‘setuptools.build_meta’ has no attribute ‘legacy

ERROR: Command errored out with exit status 1: /home/ubuntu/venv/bin/python3 /home/ubuntu/venv/lib/python3.6/site-packages/pip/_vendor/pep517/_in_process.py get_requires_for_build_wheel /tmp/tmpsa7jimyf Check the logs for full command output.

The format is almost unreadable, but it seems to be an error with setuptools. Try to update that and pip first. I had no problems installing it on Ubuntu yesterday.

Thanks, but i already did that.

Did you try to create a new virtual environment? And again, reformat your error message. It’s way too hard to read.

installing by following official rasa docs

https://rasa.com/docs/rasa/user-guide/installation/

but getting same error

AttributeError: module ‘setuptools.build_meta’ has no attribute ‘legacy

So what’s the version setuptools you’ve installed?

how did you solved it ?