Incompatible types

TypeError: super(type, obj): obj must be an instance or subtype of type.

site-packages\rasa\nlu\tokenizers\", line 57, in init super(Tokenizer, self).init(component_config)

In this line I have the error, when I debugged it , it seems component_config is valid dictionary type. component_config {‘name’: ‘SpacyTokenizer’} component_config <class ‘dict’>

Tried it in rasa-X, using pretrained_embeddings_spacy.

Any help , what is the problem?

Hi @Rajasekhar,

welcome to the community!

Can you please post

  • which Rasa version you’re using
  • which Rasa version your model was trained with
  • and the full stack trace please?

Thanks :pray: