Error: An unexpected error occurred during the `brew link` step
I've this errors on the end of install process
...
==> Pouring python3-3.6.4_1.high_sierra.bottle.tar.gz
Error: An unexpected error occurred during the brew link step
The formula built, but is not symlinked into /usr/local
Permission denied @ dir_s_mkdir - /usr/local/Frameworks
Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks
This is not httpie's fault. Your system isn't configured to allow you to install anything in /usr/local most likely and that's something you need to fix.
@sigmavirus24 hmm... other packages is ok.
Please read your output more closely. This is directly related to ==> Pouring python3-3.6.4_1.high_sierra.bottle.tar.gz
@dobeerman this is a Homebrew related issue. Try running $ brew doctor.
Thanks!!!
Just Run below command
1)brew doctor
2)sudo chown -R $(whoami) $(brew --prefix)/*
3)sudo install -d -o $(whoami) -g admin /usr/local/Frameworks
note the $(brew --prefix)/* ...High Sierra doesn't allow you to change permissions on /user/local directly)
Your problem will solved 100%.
I was having the same issue, and that fixed it. Thanks
For others who have the same problem on linking different package like dbgm
- check
Error: Permission denied @ dir_s_mkdir - [FOLDER_NEED_PERMISSION] - then grant permission as @yogeshpatil143 said
sudo install -d -o $(whoami) -g admin [FOLDER_NEED_PERMISSION]
=> grant permission to the folder [FOLDER_NEED_PERMISSION]
Yes you are correct my dear friend.. @KiengKnot ..
ref: https://gist.github.com/dalegaspi/7d336944041f31466c0f9c7a17f7d601