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

mac 解决下brew安装python3的一系列权限问题 #24

Open
gnipbao opened this issue Mar 23, 2018 · 0 comments
Open

mac 解决下brew安装python3的一系列权限问题 #24

gnipbao opened this issue Mar 23, 2018 · 0 comments
Labels

Comments

@gnipbao
Copy link
Owner

gnipbao commented Mar 23, 2018

Step 1.

$ brew install python3

error1

Step2.

$ cd /usr/local
$ sudo chown -R $(whoami) $(brew --prefix)/*

try again 😡

$ brew install python3

3578fb1b-9205-4f50-b0fa-fed094be6d7c

Step3.

$ brew unlink python && brew link python

error3

Step4. 😠

$ brew link --overwrite python3
$ sudo brew link --overwrite python3

error4

error5

Step5. 😡

$ sudo mkdir /usr/local/Frameworks
$ sudo chown $(whoami):admin /usr/local/Frameworks
$ brew link python

error6

成功!😄

@gnipbao gnipbao added the note label Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant