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

OS X 10.11 El Capitan pip install issues, root SIP problems? #7139

Closed
shaun10 opened this issue Oct 11, 2015 · 3 comments
Closed

OS X 10.11 El Capitan pip install issues, root SIP problems? #7139

shaun10 opened this issue Oct 11, 2015 · 3 comments

Comments

@shaun10
Copy link

@shaun10 shaun10 commented Oct 11, 2015

Anyone else experiencing this? Seems the install no longer works properly after upgrade.

I guess the gist is that no user -- not even root -- can write to /usr, /bin, /System, and /sbin or debug protected processes.
screen shot 2015-10-11 at 4 01 16 pm

Anyone have work around suggestions? Is the problem related to SIP changes and El Capitan?

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 12, 2015

As of now you can install the package to the local user directory:

$ pip install --user youtube-dl

The script will reside at ~/Library/Python/2.7/bin/youtube-dl.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Oct 12, 2015

Looks like a pip bug. I've reported it to pypa/pip#3177.

@rishigb
Copy link

@rishigb rishigb commented Feb 16, 2016

I did something rather simple (maybe stupid but it worked). I just added the path to .bash_profile. This is how it looks oh and it works!
screen shot 2016-02-16 at 11 53 29 am
cd /Users/username

vim .bash_profile

Add the following line:

alias youtube-dl='/Users/userName/Library/python/2.7/bin/youtube-dl'

source ~/.bash_profile

Maybe give this is a shot, until everything else is fixed? Let me know if this was helpful.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.