Sid*_*ena 12 python macos opencv macos-sierra
我想在macOS Sierra上安装opencv3 for python 3.6.我试图通过自制软件使用此链接 http://www.pyimagesearch.com/2016/12/19/install-opencv-3-on-macos-with-homebrew-the-easy-way/但我是得到这个错误
Error: opencv3: Does not support building both Python 2 and 3 wrappers
Run Code Online (Sandbox Code Playgroud)
怎么解决这个?
此错误是由此提交引起的.
随着brew edit opencv3你评论的四行:
if build.with?("python3") && build.with?("python")
# Opencv3 Does not support building both Python 2 and 3 versions
odie "opencv3: Does not support building both Python 2 and 3 wrappers"
end
Run Code Online (Sandbox Code Playgroud)
保存并重新运行安装:
brew install opencv3 --with-contrib --with-python3
Run Code Online (Sandbox Code Playgroud)
之后,一切都适合我
| 归档时间: |
|
| 查看次数: |
10609 次 |
| 最近记录: |