Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks in Python

Dung Do Tien Sep 04 2021 35

Hi Guys. I have a small project with Python and I have using brew to help link Python with the command below:

 brew link python

but I get an exception Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks.

 Linking /usr/local/Cellar/[email protected]/3.8.5... Error: Permission denied @ dir_s_mkdir - /usr/local/Frameworks

How can I provide permission to help solve this issue?

Thanks for any suggestions.

Have 1 answer(s) found.
  • M

    Mobile Legend Sep 04 2021

    it is said that You have no authority.

    Since there was no Frameworks directory in the first place, it was solved by creating & granting authority. it is said that he has no authority.

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

    I hope this answer helpful for you.

Leave An Answer
* NOTE: You need Login before leave an answer

* Type maximum 2000 characters.

* All comments have to wait approved before display.

* Please polite comment and respect questions and answers of others.

Popular Tips

X Close