Failed to find component class for 'HFTransformersNLP'

Hi guys,

Recently, I use this command to train a nlu model ,but I got a strange error。

python3 -m rasa_nlu.train --config config.yml --data ./data/nlu/nlu.md --path ./models
Exception: Failed to find component class for 'HFTransformersNLP'. 
Unknown component name. Check your configured pipeline and make 
sure the mentioned component is not misspelled. If you are creating your 
own component, make sure it is either listed as part of the `component_classes` 
in `rasa_nlu.registry.py` or is a proper name of a class in a module.

my rasa version is 1.10.10

That’s strange. If think you’ve spelled HFTransformersNLP correctly and your version number looks modern enough to support it.

It might be virtualenv issue? Are you 100% sure that the environment where you’re calling from has the version of rasa that you expect?

me too ,how to do?