bot = ChatBot('Buddy', read_only = True)报错
OSError Traceback (most recent call last) <ipython-input-8-54586ab722d2> in <module> ----> 1 bot = ChatBot('Buddy', read_only = True) e:\liaotianjiqi\lib\site-packages\chatterbot\chatterbot.py in __init__(self, name, **kwargs) 26 self.logic_adapters = [] 27 ---> 28 self.storage = utils.initialize_class(storage_adapter, **kwargs) 29 30 primary_search_algorithm = IndexedTextSearch(self, **kwargs) e:\liaotianjiqi\lib\site-packages\chatterbot\utils.py in initialize_class(data, *args, **kwargs) 31 Class = import_module(data) 32 ---> 33 return Class(*args, **kwargs) 34 35 e:\liaotianjiqi\lib\site-packages\chatterbot\storage\sql_storage.py in __init__(self, **kwargs) 18 19 def __init__(self, **kwargs): ---> 20 super().__init__(**kwargs) 21 22 from sqlalchemy import create_engine e:\liaotianjiqi\lib\site-packages\chatterbot\storage\storage_adapter.py in __init__(self, *args, **kwargs) 19 20 self.tagger = PosLemmaTagger(language=kwargs.get( ---> 21 'tagger_language', languages.ENG 22 )) 23 e:\liaotianjiqi\lib\site-packages\chatterbot\tagging.py in __init__(self, language) 11 self.punctuation_table = str.maketrans(dict.fromkeys(string.punctuation)) 12 ---> 13 self.nlp = spacy.load(self.language.ISO_639_1.lower()) 14 15 def get_bigram_pair_string(self, text): e:\liaotianjiqi\lib\site-packages\spacy\__init__.py in load(name, disable, exclude, config) 45 RETURNS (Language): The loaded nlp object. 46 """ ---> 47 return util.load_model(name, disable=disable, exclude=exclude, config=config) 48 49 e:\liaotianjiqi\lib\site-packages\spacy\util.py in load_model(name, vocab, disable, exclude, config) 326 return load_model_from_path(name, **kwargs) 327 if name in OLD_MODEL_SHORTCUTS: --> 328 raise IOError(Errors.E941.format(name=name, full=OLD_MODEL_SHORTCUTS[name])) 329 raise IOError(Errors.E050.format(name=name)) 330 OSError: [E941] Can't find model 'en'. It looks like you're trying to load a model from a shortcut, which is deprecated as of spaCy v3.0. To load the model, use its full name instead: nlp = spacy.load("en_core_web_sm") For more details on the available models, see the models directory: https://spacy.io/models. If you want to create a blank model, use spacy.blank: nlp = spacy.blank("en")
ot('Buddy', read_only = True)
请问解决了吗