-
-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Permissions issue when linking python3 #19286
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
Comments
Can you tell us if you have a |
Same as your problem. This works for me.
|
@chingNotCHing Thank you |
@fxcoudert Nope, it doesn't currently exist.
Here's the permission of the parent
My understanding (@chingNotCHing) is that it's not a good idea to change the owner of |
@JasonTheAdams after doing the option from above and running "brew link python3" I still get
Is this the case for you too? |
@abonillasuse, @chingNotCHing's stuff does not work for you because he made a typo (there is missing slash in the second command) This is the correct one
|
Is there any info on why the |
The |
Manually creating the |
If you installed using the install script before Homebrew/install#59 was merged, it is possible it was never created. It also is possible that a system/software update removed the |
@JCount thank you for the info/explanation. @JasonTheAdams manually creating the directory sorted things for me as well, thanks! |
@JasonTheAdams thanks for reporting the issue and I'm glad to hear you got it working. |
I faced this same issue after upgrading to macOS High Sierra. I had to recreate the /usr/local/ dirs Framework, include and lib which were deleted during the OS upgrade and then run
to set permissions on the new directories. |
@chingNotCHing Thanks for your answer. It worked for me, but not after I corrected the second command, which was missing a forward slash, |
I had a similar issue but wasn't able to resolve it by creating /usr/local/Frameworks. Instead, I created /usr/local/lib and followed @chingNotCHing's advice on how to assign permissions. It worked after that. |
Gist Logs: https://gist.github.com/37a31433396016024e15632dfe27b638
Greetings! Python3 was installed as a dependency of asciinema (
brew install asciinema
) after updating, but it got stuck when linking python3, giving the following:I ran
brew doctor
, and it said to runbrew link python3
. That produced the same error message as before.I tried searching around for this, but couldn't quite find a clear answer as what to do. If I understand correctly, it's no longer necessary (or recommended) to change the owner of
/usr/local/
.Appreciate any guidance on this!
The text was updated successfully, but these errors were encountered: