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

[Question]: Issue Regarding Ragflow Source Code Installation: Poetry Lock Taking Too Long #4434

Open
zhenzhenzhizhi opened this issue Jan 9, 2025 · 1 comment
Labels
question Further information is requested

Comments

@zhenzhenzhizhi
Copy link

Describe your problem

Hello,

I encountered an issue while trying to install Ragflow using the source code. I followed the tutorial and used poetry install, but I received an error saying that the lock file must be updated. I then ran poetry lock, but even after running it for a day and a half (until 10 PM today), it hasn’t finished updating dependencies. Is this normal? I’ve already switched to a different mirror source, but the issue persists.

It’s worth noting that I referred to other installation tutorials and tried using the poetry lock --no-update command. However, I received an error saying that the --no-update option does not exist. I then downgraded Poetry from version 2.0.0 to 1.1.12, 1.1.8, and 1.1.6, but the problem remains.

Additionally, I have a small question: If I want to perform secondary development on Ragflow, such as adding my own algorithm module, what’s the best way to debug the code? Can I directly enter the running ragflow-server container and modify the source code, or is it better to use the source code installation method for secondary development?

Thank you for your help!

@zhenzhenzhizhi zhenzhenzhizhi added the question Further information is requested label Jan 9, 2025
@KevinHuSh
Copy link
Collaborator

What about adding some mirrors?

poetry source add --priority=primary mirrors https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple/

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

No branches or pull requests

2 participants