-
Notifications
You must be signed in to change notification settings - Fork 142
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
Error using Jieba in dify-sandbox: Operation not permitted #97
Comments
I’ve created a simplified code runner that is compatible with the current sandbox. You only need to replace the image to use it. Feel free to check it out if you're interested: https://github.com/svcvit/dify-sandbox-py. |
You haven't given the sandbox the system call permissions required for jieba |
Hi there! I'm having trouble using the Jieba library for word segmentation in the dify-sandbox environment. When I run the code below, I get the error message: "Building prefix dict from the default dictionary ... error: operation not permitted."
It seems like this error is related to permission issues when Jieba tries to build a prefix dictionary from the default dictionary. I'm wondering if there's a way to solve this problem, or if there's an alternative method for word segmentation that works smoothly in dify-sandbox. Additionally, could you provide any solutions or relevant resources to address this issue? Thanks a bunch!
The text was updated successfully, but these errors were encountered: