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

error: SandboxViolation #35

Closed
void-ll opened this issue Mar 7, 2022 · 11 comments
Closed

error: SandboxViolation #35

void-ll opened this issue Mar 7, 2022 · 11 comments

Comments

@void-ll
Copy link

void-ll commented Mar 7, 2022

error: Setup script exited with error: SandboxViolation: mkdir('/private/var/root/Library/Caches/com.apple.python/private/tmp/easy_install-qii5l5tu', 511) {}

@ly4k
Copy link
Owner

ly4k commented Mar 8, 2022

How did you install it? You can try with the --user flag

@void-ll
Copy link
Author

void-ll commented Mar 9, 2022

My computer is mac m1, I don't know if it is a problem with arm? I don't have this problem with ubuntu。The command I use is sudo python3 setup.py install
Screen Shot 2022-03-09 at 9 32 22 AM

@ly4k
Copy link
Owner

ly4k commented Mar 9, 2022

Please try python3 setup.py install --user. Googling the issue gives similar results that indicate it might be a problem with your Python environment.

@void-ll
Copy link
Author

void-ll commented Mar 10, 2022

Tried python3 setup.py install --user still the same error message, it may be the problem of arm, but thank you anyway

@ly4k
Copy link
Owner

ly4k commented Mar 10, 2022

Don't think it's an issue related to the processor architecture, but rather that you are using a Mac. Not sure how to fix the issue. Can you try to upgrade python's setuptools? Or perhaps try pip install .

@void-ll
Copy link
Author

void-ll commented Mar 11, 2022

This time the installation did not report an error, but starting certipy will report an error

Screen Shot 2022-03-11 at 9 35 45 AM

@ly4k
Copy link
Owner

ly4k commented Mar 11, 2022

Try with pip3 instead of pip

@void-ll
Copy link
Author

void-ll commented Mar 14, 2022

pip3 install .That doesn't work either,
Screen Shot 2022-03-14 at 10 34 19 AM

@ly4k
Copy link
Owner

ly4k commented Mar 14, 2022

You need to run as sudo or with --user

@void-ll
Copy link
Author

void-ll commented Mar 14, 2022

The problem is finally solved, thank you very much

@void-ll void-ll closed this as completed Mar 14, 2022
@kidandcat
Copy link

Just to have it documented. I had the same error (even using sudo) and I could fix it by using homebrew python3 version. (it fails with the native macos python3)

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