我尝试按照那些步骤操作,但对我仍然没有用。我试图链接库:brew link --overwrite imagemagick,结果得到了 `Linking /usr/local/Cellar/imagemagick/6.8.0-10... Warning: Could not link imagemagick. Unlinking...Error: Permission denied - /usr/local/etc/ImageMagick/type.xml` ...如何解决权限问题? - user984621
brew link --overwrite imagemagick
,结果得到了 `Linking /usr/local/Cellar/imagemagick/6.8.0-10... Warning: Could not link imagemagick. Unlinking...Error: Permission denied - /usr/local/etc/ImageMagick/type.xml` ...如何解决权限问题? - user984621/usr/local
目录的所有权。你可以通过sudo chown -R `whoami` /usr/local
命令来解决这个问题。 - iltempo