sahil-rajput/Candice-YourPersonalChatBot

1 of 119 Issue while running the python app.py chatbot file using flask query

Closed this issue · 1 comments

While running the python chatter code using flask was facing the below issue,

"C:\Users\Lenovo\PycharmProjects\new bot\venv\Scripts\python.exe" "C:/Users/Lenovo/PycharmProjects/new bot/app.py"
Traceback (most recent call last):
File "C:/Users/Lenovo/PycharmProjects/new bot/app.py", line 9, in
bot = ChatBot("DTAG")
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\chatterbot\chatterbot.py", line 28, in init
self.storage = utils.initialize_class(storage_adapter, **kwargs)
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\chatterbot\utils.py", line 33, in initialize_class
return Class(*args, **kwargs)
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\chatterbot\storage\sql_storage.py", line 20, in init
super().init(**kwargs)
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\chatterbot\storage\storage_adapter.py", line 23, in init
'tagger_language', languages.ENG
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\chatterbot\tagging.py", line 20, in init
import spacy
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\spacy_init_.py", line 12, in
from .cli.info import info as cli_info
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\spacy\cli_init_.py", line 6, in
from .train import train # noqa: F401
File "C:\Users\Lenovo\PycharmProjects\new bot\venv\lib\site-packages\spacy\cli\train.py", line 18, in
from ..gold import GoldCorpus
File "strings.pxd", line 23, in init spacy.gold
ImportError: DLL load failed: The specified module could not be found.

Process finished with exit code 1

Could you please help me to resolve these.