macにopenCVをインストールしたく、下記の手順で試したのがエラーになってしまいます。
brew update brew install -v cmake brew tap homebrew/science brew install opencv3
エラーの内容は下記になります。
==> Installing opencv3 from homebrew/science ==> Installing dependencies for homebrew/science/opencv3: eigen, libpng, libtiff, ilmbase, openexr, homebrew/python/numpy ==> Installing homebrew/science/opencv3 dependency: eigen ==> Downloading https://homebrew.bintray.com/bottles/eigen-3.3.1.el_capitan.bottle.tar.gz Warning: Failed to create the file Warning: /Users/shimizukazutaka/Library/Caches/Homebrew/eigen-3.3.1.el_capitan. Warning: bottle.tar.gz.incomplete: Permission denied curl: (23) Failed writing body (0 != 16029) Error: Failed to download resource "eigen" Download failed: https://homebrew.bintray.com/bottles/eigen-3.3.1.el_capitan.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Installing dependencies for eigen: cmake ==> Installing eigen dependency: cmake ==> Downloading https://homebrew.bintray.com/bottles/cmake-3.7.2.el_capitan.bottle.tar.gz Warning: Failed to create the file Warning: /Users/shimizukazutaka/Library/Caches/Homebrew/cmake-3.7.2.el_capitan. Warning: bottle.tar.gz.incomplete: Permission denied curl: (23) Failed writing body (0 != 16028) Error: Failed to download resource "cmake" Download failed: https://homebrew.bintray.com/bottles/cmake-3.7.2.el_capitan.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Installing dependencies for cmake: sphinx-doc ==> Installing cmake dependency: sphinx-doc ==> Downloading https://homebrew.bintray.com/bottles/sphinx-doc-1.5.1.el_capitan.bottle.tar.gz Warning: Failed to create the file Warning: /Users/shimizukazutaka/Library/Caches/Homebrew/sphinx-doc-1.5.1.el_cap Warning: itan.bottle.tar.gz.incomplete: Permission denied curl: (23) Failed writing body (0 != 16023) Error: Failed to download resource "sphinx-doc" Download failed: https://homebrew.bintray.com/bottles/sphinx-doc-1.5.1.el_capitan.bottle.tar.gz Warning: Bottle installation failed: building from source. ==> Using the sandbox ==> Downloading https://files.pythonhosted.org/packages/b2/d5/bb4bf7fbc2e6b85d1e3832716546ecd434632d9d434a01efe87053fe5f25/Sphinx-1.5.1.tar.gz Warning: Failed to create the file Warning: /Users/shimizukazutaka/Library/Caches/Homebrew/sphinx-doc-1.5.1.tar.gz Warning: .incomplete: Permission denied curl: (23) Failed writing body (0 != 2020) Error: Failed to download resource "sphinx-doc" Download failed: https://files.pythonhosted.org/packages/b2/d5/bb4bf7fbc2e6b85d1e3832716546ecd434632d9d434a01efe87053fe5f25/Sphinx-1.5.1.tar.gz
homeBrewは最新版にupdateした上で実行しています。
どなたか解決方法をご存知でしたら教えていただけますと幸いです。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。