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'安装并不难。 –