0
沒有選擇當我運行brew info opencv
終端命令我得到這樣的回答:沒有在Hombrew爲OpenCV的安裝
opencv: stable 3.3.0 (bottled)
Open source computer vision library
http://opencv.org/
/usr/local/Cellar/opencv/3.3.0_3 (516 files, 122.9MB) *
Poured from bottle on 2017-08-27 at 01:15:27
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/opencv.rb
==> Dependencies
Build: cmake ✔, pkg-config ✔
Required: eigen ✔, ffmpeg ✔, jpeg ✔, libpng ✔, libtiff ✔, openexr ✔, numpy ✔
==> Requirements
Required: python ✔, python3 ✔
==> Caveats
Python modules have been installed and Homebrew's site-packages is not
in your Python sys.path, so you will not be able to import the modules
this formula installed. If you plan to develop with these modules,
please run:
mkdir -p /Users/amirhossein/Library/Python/2.7/lib/python/site-packages
echo 'import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")' >> /Users/amirhossein/Library/Python/2.7/lib/python/site-packages/homebrew.pth
在哪裏都像--with--contrib
的選項?我如何使用Homebrew安裝opencv和其他選項contrib &?
嘗試'brew選項opencv'或'brew options opencv3' –
不幸的是沒有任何反應! – user2626054
嗯,不知道所有選項都去了哪裏,也不知道爲什麼。不過,使用'git clone'和'cmake'安裝並不難。 –