I have been getting the same error. I tried to run to create a docker by using the command
docker run -v $(pwd):/app rasa/rasa init --no-prompt
I got the following error
Traceback (most recent call last):
File "/opt/venv/bin/rasa", line 6, in <module>
from pkg_resources import load_entry_point
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3253, in <module>
@_call_aside
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3237, in _call_aside
f(*args, **kwargs)
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3266, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 584, in _build_master
ws.require(__requires__)
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 901, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 787, in resolve
raise DistributionNotFound(req, requirers)
**pkg_resources.DistributionNotFound: The 'rasa' distribution was not found and is required by the application**
Does anyone by chance have a solution for this? I would appreciate it much.