Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

點SUBMIT DOCUM出現錯誤訊息 (同下方問題 #6

Open
JosephLi0419 opened this issue Mar 26, 2024 · 6 comments
Open

點SUBMIT DOCUM出現錯誤訊息 (同下方問題 #6

JosephLi0419 opened this issue Mar 26, 2024 · 6 comments

Comments

@JosephLi0419
Copy link

No description provided.

@JosephLi0419
Copy link
Author

您好,出現此錯誤:
An error occurred: [Errno 2] No such file or directory: '/home/yabilab/Desktop/RAG_LangChain_streamlit/data/tmp/tmplbupn12m.pdf'
感覺再生成Temporary File 出現問題(?)
我完全依照您在Medium的方式操作,並且window跟linux上都出現一樣的問題。
然後有發現裝requirement.txt時有出現錯誤(似乎是python 3.7的問題)
不知道您有沒有當時裝requirement內的東西時的版本,我猜有可能是現在某些東西版本更新了 ,才會出現錯誤~

@JosephLi0419 JosephLi0419 changed the title 點SUBMIT DOCUM出現錯誤訊息 (wj/ 點SUBMIT DOCUM出現錯誤訊息 (同下方問題 Mar 26, 2024
@JosephLi0419
Copy link
Author

然後用llama.cpp用llm接上您的專案是可以回覆的,問題出現在sumbit pdf而已~

@JosephLi0419
Copy link
Author

安裝時的錯誤如下:
ERROR: Ignored the following versions that require a different python version: 0.0.1 Requires-Python >=3.8.1,<4.0....
ERROR: Could not find a version that satisfies the requirement langchain-community (from versions: none)
ERROR: No matching distribution found for langchain-community

@JosephLi0419
Copy link
Author

創建一個tmp資料夾解決了,謝謝!

@wsxqaza12
Copy link
Owner

感謝 @JosephLi0419 提問,
我去看了官網
langchain-community 在3月21號更新後就不支援 python 3.7,
我稍後測試一下新版本,再把文件更新,感謝告知 :)

以下是我之前測試的版本:

Name Version
langchain 0.1.3
langchain-community 0.0.15
langchain-core 0.1.15
langchain-openai 0.0.3

@JosephLi0419
Copy link
Author

謝謝您的回覆~你的文章都淺顯易懂,很厲害🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants