miaoshouai / miaoshouai-assistant

MiaoshouAI Assistant for Automatic1111 Webui
Apache License 2.0
314 stars 25 forks source link

ı take error . ModuleNotFoundError: No module named 'langchain_community' #72

Closed kasirgasa closed 5 months ago

kasirgasa commented 5 months ago

*** Error loading script: main.py Traceback (most recent call last): File "D:\new world\real try\stable\webui\modules\scripts.py", line 508, in load_scripts script_module = script_loading.load_module(scriptfile.path) File "D:\new world\real try\stable\webui\modules\script_loading.py", line 13, in load_module module_spec.loader.exec_module(module) File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "D:\new world\real try\stable\webui\extensions\miaoshouai-assistant-main\scripts\main.py", line 4, in from scripts.assistant.miaoshou import MiaoShouAssistant File "D:\new world\real try\stable\webui\extensions\miaoshouai-assistant\scripts\assistant\miaoshou.py", line 15, in from scripts.runtime.msai_runtime import MiaoshouRuntime File "D:\new world\real try\stable\webui\extensions\miaoshouai-assistant\scripts\runtime\msai_runtime.py", line 27, in from gpt_index import SimpleDirectoryReader, GPTListIndex, GPTSimpleVectorIndex, LLMPredictor, PromptHelper File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index__init.py", line 18, in from gpt_index.indices.common.struct_store.base import SQLDocumentContextBuilder File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\indices__init.py", line 4, in from gpt_index.indices.keyword_table.base import GPTKeywordTableIndex File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\indices\keyword_table\init__.py", line 4, in from gpt_index.indices.keyword_table.base import GPTKeywordTableIndex File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\indices\keyword_table\base.py", line 16, in from gpt_index.indices.base import DOCUMENTS_INPUT, BaseGPTIndex File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\indices\base.py", line 23, in from gpt_index.indices.prompt_helper import PromptHelper File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\indices\prompt_helper.py", line 12, in from gpt_index.langchain_helpers.chain_wrapper import LLMPredictor File "D:\new world\real try\stable\system\python\lib\site-packages\gpt_index\langchain_helpers\chain_wrapper.py", line 8, in from langchain import Cohere, LLMChain, OpenAI File "D:\new world\real try\stable\system\python\lib\site-packages\langchain\init.py", line 145, in getattr__ from langchain_community.llms import Cohere ModuleNotFoundError: No module named 'langchain_community