程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> 更多編程語言 >> Python >> brew安裝錯誤:/usr/local/include is not writable

brew安裝錯誤:/usr/local/include is not writable

編輯:Python

在Mac上使用brew命令安裝東西,提示/usr/local/include is not writable的錯誤,在Stack Overflow很快找到解決辦法:

Simple solution that worked for me:

  1. click on your background to go to finder
  2. click on go and go to folder /usr
  3. right click on local and do get info
  4. unlock the lock at the bottom
  5. click + sign and add your user to the list and give read/write privileges
  6. click on the gear sign at the bottom and choose apply to enclosed items to recurse under that directory and assign privileges too all directories beneath it.

 

brew-read-write

OK,大功告成,現在可以正常使用brew了。

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved