用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,该文件里面全是要下载包时建立的软连接,无图无真相,贴图看看效果:用homebrew下载cmake时出现Error: No such file or directory - /usr/local/var/homebrew/linked/cmake错误解决办法

 

上一篇:io.h”: No such file or directory


下一篇:bash: /usr/bin/python3: No such file or directory