hwchase17 / chat-your-data

MIT License
901 stars 266 forks source link

ImportError: cannot import name 'RecursiveCharacterTextSplitter' from 'langchain.text_splitter' #6

Open dPacc opened 1 year ago

dPacc commented 1 year ago

Hi there, I'm trying to run this locally, but the following error occurs when I run python ingest_data.py

lightshifted commented 1 year ago

I encountered a similar issue solved by: pip install --upgrade langchain

Hopefully this works for you as well!

akiral commented 1 year ago

Also confirm that you're running the right version of Python.

py --version

AcerScottLee commented 1 year ago

Also make sure that you are using the correct Python version: > > py --version.

Which of the Python versions is required? I use Python 3.8 but there will be this error, TKS

anantdevcs commented 10 months ago

any update on this?

ZXXSG commented 10 months ago

Hi there, I'm trying to run this locally, but the following error occurs when I run python ingest_data.py

I meet the same problem. How did you solve it in the end?

AcerScottLee commented 10 months ago

Hi there, I'm trying to run this locally, but the following error occurs when I run python ingest_data.py您好,我正在嘗試在本地運行它,但是當我運行 python ingest_data.py 時出現以下錯誤

I meet the same problem. How did you solve it in the end?我遇到了同樣的問題。你最後是怎麼解決的?

Have you ever tried running "pip install --upgrade langchain"?