Rasa run error

hi, i made my rasa bot first with version 2.5 then one day it stopped working and started showing this message, image then i upgraded to rasa 2.6 , it worked fine for a while then same thing happened, now with that message it is showing this error Traceback (most recent call last): File “C:\Users\asus\anaconda3\lib\runpy.py”, line 194, in run_module_as_main return run_code(code, main_globals, None, File “C:\Users\asus\anaconda3\lib\runpy.py”, line 87, in run_code exec(code, run_globals) File "C:\Users\asus\Desktop\internship\rasa\Scripts\rasa.exe_main.py", line 7, in File "c:\users\asus\desktop\internship\rasa\lib\site-packages\rasa_main.py", line 117, in main cmdline_arguments.func(cmdline_arguments) File “c:\users\asus\desktop\internship\rasa\lib\site-packages\rasa\cli\run.py”, line 95, in run rasa.run(**vars(args)) File “c:\users\asus\desktop\internship\rasa\lib\site-packages\rasa\api.py”, line 37, in run import rasa.core.run File “c:\users\asus\desktop\internship\rasa\lib\site-packages\rasa\core\run.py”, line 15, in from rasa import model, server, telemetry File “c:\users\asus\desktop\internship\rasa\lib\site-packages\rasa\server.py”, line 30, in from sanic_cors import CORS File "c:\users\asus\desktop\internship\rasa\lib\site-packages\sanic_cors_init.py", line 11, in from .decorator import cross_origin File “c:\users\asus\desktop\internship\rasa\lib\site-packages\sanic_cors\decorator.py”, line 13, in from spf import SanicPluginsFramework File “c:\users\asus\desktop\internship\rasa\lib\site-packages\spf_init_.py”, line 3, in from .framework import SanicPluginsFramework File “c:\users\asus\desktop\internship\rasa\lib\site-packages\spf\framework.py”, line 15, in from spf.config import load_config_file File “c:\users\asus\desktop\internship\rasa\lib\site-packages\spf\config.py”, line 8, in import pkg_resources File “c:\users\asus\desktop\internship\rasa\lib\site-packages\pkg_resources.py”, line 1479, in register_loader_type(importlib_bootstrap.SourceFileLoader, DefaultProvider) AttributeError: module ‘importlib._bootstrap’ has no attribute ‘SourceFileLoader’

Hi there,

When you started working with the new one, did you start from scratch, establish a new environment and do the rasa init over there? I also google’d your problem for you, did you check these out: python - using pip3: module "importlib._bootstrap" has no attribute "SourceFileLoader" - Stack Overflow

Seems like the problem is about package manager rather than rasa.

hi , i fixed the issue by upgrading to 2.6 then it hapend again and i had to upgrade to 2.7 xD