使用brew install opencv 命令出现以下报错 应该怎么解决啊,说无法访问 https://skia.googlesource.com/skcms.git/%E8%BF%99%E4%B8%AA%E7%BD%91%E5%9D%80%E3%80%82%E6%B1%82%E6%8C%87%E7%82%B9%E3%80%82
Error: opencv: Failed to download resource "jpeg-xl--skcms"
Failure while executing; /usr/bin/env git clone -c advice.detachedHead=false https://skia.googlesource.com/skcms.git /Users/mac/Library/Caches/Homebrew/jpeg-xl--skcms--git
exited with 128. Here's the output:
Cloning into '/Users/mac/Library/Caches/Homebrew/jpeg-xl--skcms--git'...
fatal: unable to access 'https://skia.googlesource.com/skcms.git/': Failed to connect to skia.googlesource.com port 443: Operation timed out
无法下载资源,是不是你的网络的问题。
这个错误通常意味着 Homebrew 无法连接到 Skia 的 Git 存储库。您可以尝试以下步骤来解决此问题:
brew cleanup
brew update
brew reinstall opencu
如果以上步骤无法解决问题,请尝试在 GitHub 或 Stack Overflow 上搜索相关问题,并检查是否有其他用户遇到了类似的问题。