ConsoleInputChannel

from rasa_core.channels.console import ConsoleInputChannel ImportError: cannot import name ConsoleInputChannel

1 Like

Please refer to the migration guide https://rasa.com/docs/core/migrations/

1 Like

‘’’ python dialogue_management_model.py /home/bugsbun/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters :0: UserWarning: You do not have a working installation of the service_identity module: ‘No module named ‘service_identity’’. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. Traceback (most recent call last): File “dialogue_management_model.py”, line 10, in from rasa_core.channels.console import ConsoleInputChannel ImportError: cannot import name ‘ConsoleInputChannel’

‘’’

i have try the migration guide but it also showing some error

‘’’ python -m rasa_core.run -d models/dialogue -u models/current/nlu /home/bugsbun/anaconda3/lib/python3.6/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type. from ._conv import register_converters as _register_converters :0: UserWarning: You do not have a working installation of the service_identity module: ‘No module named ‘service_identity’’. Please install it from https://pypi.python.org/pypi/service_identity and make sure all of its dependencies are satisfied. Without the service_identity module, Twisted can perform only rudimentary TLS client hostname verification. Many valid certificate/hostname mappings may be rejected. Traceback (most recent call last): File “/home/bugsbun/anaconda3/lib/python3.6/runpy.py”, line 193, in _run_module_as_main “main”, mod_spec) File “/home/bugsbun/anaconda3/lib/python3.6/runpy.py”, line 85, in _run_code exec(code, run_globals) File “/home/bugsbun/anaconda3/lib/python3.6/site-packages/rasa_core/run.py”, line 247, in cmdline_args.log_file) File “/home/bugsbun/anaconda3/lib/python3.6/site-packages/rasa_core/utils.py”, line 41, in configure_file_logging fh = logging.FileHandler(logfile) File “/home/bugsbun/anaconda3/lib/python3.6/logging/init.py”, line 1030, in init StreamHandler.init(self, self._open()) File “/home/bugsbun/anaconda3/lib/python3.6/logging/init.py”, line 1059, in _open return open(self.baseFilename, self.mode, encoding=self.encoding) PermissionError: [Errno 13] Permission denied: ‘/home/bugsbun/Desktop/project/chatbot/chatbot/rasa_core.log’

‘’’

It seems you’re not allowed to write to that directory, try a different directory, or run the command with sudo

‘’’ sudo python -m rasa_core.run -d models/dialogue [sudo] password for bugsbun: /usr/bin/python: No module named rasa_core ‘’’ it showing this