我在 macOS Sonoma 上。我意外地在 Libyaml 之前安装了 Pyyaml。我用 pip 安装了 Pyyaml,用 Homebrew 安装了 Libyaml。
如何让 Pyyaml 获得 Libyaml 支持?我尝试卸载它,但出现了以下错误:
ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
我该如何修复这个问题?