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

not installing to macOS via pip #1117

Closed
rozenstein94 opened this issue Jun 26, 2017 · 3 comments
Closed

not installing to macOS via pip #1117

rozenstein94 opened this issue Jun 26, 2017 · 3 comments

Comments

@rozenstein94
Copy link

Description

Pip installation fails on macOS

Versions

  • Operating System (lsb_release -a): OS X 10.12 and up
@nicolargo
Copy link
Owner

Not easy to investigate with this kind of issue report...

Please copy/paste the error message.

@rozenstein94
Copy link
Author

rozenstein94 commented Jun 27, 2017

Its likely to be caused by system integrity protection. Same with or without sudo

 creating /System/Library/Frameworks/Python.framework/Versions/2.7/share
error: could not create '/System/Library/Frameworks/Python.framework/Versions/2.7/share': Operation not permitted

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/private/tmp/pip-build-dN4Es6/glances/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-nw914l-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-dN4Es6/glances/

@rozenstein94
Copy link
Author

rozenstein94 commented Jul 7, 2017

#1120 is the same issue, but with better info

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

No branches or pull requests

2 participants