尝试在 mac os 上安装 caffe
Trying to install caffe on mac os
在 运行 上执行以下步骤:brew install -build-from-source -fresh -vd boost boost-python
它抛出以下错误
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost-python.rb
Error: No such file or directory @ realpath_rec - /usr/local/Cellar/boost/1.62.0
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `realpath'
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `realpath'
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `for'
/usr/local/Homebrew/Library/Homebrew/formula.rb:574:in `linked_version'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:193:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:126:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:126:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
请让我知道如何解决这个问题。
此错误因升级版本而增加。
解决这个问题:
Step 1:brew search boost
check the compactability of your boost version.
Step 2:brew uninstall boost
Step 3:brew install boost
在 运行 上执行以下步骤:brew install -build-from-source -fresh -vd boost boost-python
它抛出以下错误
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost.rb
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/boost-python.rb
Error: No such file or directory @ realpath_rec - /usr/local/Cellar/boost/1.62.0
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `realpath'
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `realpath'
/usr/local/Homebrew/Library/Homebrew/keg.rb:172:in `for'
/usr/local/Homebrew/Library/Homebrew/formula.rb:574:in `linked_version'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:193:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:126:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:126:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:91:in `<main>'
请让我知道如何解决这个问题。
此错误因升级版本而增加。 解决这个问题:
Step 1:brew search boost
check the compactability of your boost version.
Step 2:brew uninstall boost
Step 3:brew install boost