在mac上安装caffe“;错误:无效选项:--with python";

在mac上安装caffe“;错误:无效选项:--with python";,python,caffe,protobuf-c,Python,Caffe,Protobuf C,当我在mac上安装caffe时,根据: 剩余依赖项,带/不带Python # with Python pycaffe needs dependencies built from source brew install --build-from-source --with-python -vd protobuf brew install --build-from-source -vd boost boost-python # without Python the usual installati

当我在mac上安装caffe时,根据:

剩余依赖项,带/不带Python

# with Python pycaffe needs dependencies built from source

brew install --build-from-source --with-python -vd protobuf
brew install --build-from-source -vd boost boost-python
# without Python the usual installation suffices
brew install protobuf boost
我将第二个粘贴到终端,结果是:

Error: invalid option: --with-python

我找不到任何类似的问题,有人能帮我解决吗?

选项已从自制核心配方中删除,现在只存在于taps中。看这个。使用python构建已成为
protobuf
的默认行为

见第49-51行

chdir“python”do
系统“python3”,*语言::Python.setup\u install\u args(libexec),
“--cpp_实施”
所以跑步应该没问题

brew install --build-from-source -vd protobuf
大概“自制/自制核心公式不再具有安装选项。”