Код: Выделить всё
ModuleNotFoundError: No module named 'langchain.text_splitter'
File "C:\Users\hp\Downloads\GenAi\app.py", line 6, in
from langchain.text_splitter import RecursiveCharacterTextSplitter
2026-01-02 22:18:50.274 Uncaught app execution
Traceback (most recent call last):
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\exec_code.py", line 129, in exec_func_with_error_handling
result = func()
^^^^^^
File "C:\Users\hp\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 671, in code_to_exec
exec(code, module.__dict__) # noqa: S102
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\hp\Downloads\GenAi\app.py", line 9, in
from langchain.text_splitter import RecursiveCharacterTextSplitter
Подробнее здесь: https://stackoverflow.com/questions/798 ... ai-project