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

Node run failed: error: operation not permitted #53

Open
yuweimian-shy opened this issue Aug 30, 2024 · 7 comments
Open

Node run failed: error: operation not permitted #53

yuweimian-shy opened this issue Aug 30, 2024 · 7 comments

Comments

@yuweimian-shy
Copy link

I followed the steps in FAQ.md and got the following error at step2, anyone else having the same problem?
微信图片_20240830103620

@yuweimian-shy
Copy link
Author

When I run this test file alone, I get the following error
微信图片_20240830110409

@Hanfee
Copy link
Contributor

Hanfee commented Aug 30, 2024

Please show your test.py ,

Before test your python script, please read the README.md

@yuweimian-shy
Copy link
Author

Please show your test.py ,

Before test your python script, please read the README.md

i just add “import numpy” before main function following the FAQ.md, The rest is unchanged.
Is that right? or i need to change my code?
企业微信截图_17250069512128

@Hanfee
Copy link
Contributor

Hanfee commented Aug 30, 2024

Is the user sandbox present on your platform?

uid=65537(sandbox) gid=59846(sandbox) group=59846(sandbox) — This system call execution is bound to the sandbox user.

@athmey
Copy link

athmey commented Aug 30, 2024

Is the user sandbox present on your platform?

uid=65537(sandbox) gid=59846(sandbox) group=59846(sandbox) — This system call execution is bound to the sandbox user.

yes, currently the sandbox is on the platform.(目前正在服务器上配置sandbox的环境)
OS:Ubuntu20.04
CPU arch: amd64

Following the instructions:
1.Clone the repository using git clone https://github.com/langgenius/dify-sandbox and navigate to the project directory.
2.Run ./install.sh to install the necessary dependencies.
3.Run ./build/build_[amd64|arm64].sh to build the sandbox binary.
4.Run ./main to start the server.

while doing the "./main", the output is like this:
res

How to solve the error:[ERROR]failed to start pip3

@Hanfee
Copy link
Contributor

Hanfee commented Aug 30, 2024

@athmey Please sure pip3 command is exists ?If not, please install it first

@athmey
Copy link

athmey commented Sep 2, 2024

@athmey Please sure pip3 command is exists ?If not, please install it first

Thank you so much

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

3 participants