首页 > 其他分享> > 用homebrew下载cmake时出现Error: No such file or directory - /usr/local/var/homebrew/linked/cmake错误解决办法
用homebrew下载cmake时出现Error: No such file or directory - /usr/local/var/homebrew/linked/cmake错误解决办法
作者:互联网
笔者手比较贱,直接删了opencv里面的lib,直接删了废纸篓里的文件,没在终端卸载。要重新下一次,然后brew啥也下不了,brew install xxx直接报出这个错误Error: No such file or directory - /usr/local/var/homebrew/linked/xxx,解决办法是删除系统目录下的var里面的homebrew,我电脑的路径是/usr/local/var/homebrew,该文件里面全是要下载包时建立的软连接,无图无真相,贴图看看效果:
标签:cmake,No,usr,file,such,var,homebrew,local 来源: https://blog.csdn.net/weixin_58475035/article/details/121887480