Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问如何在mac上安装Opencv2? #2

Open
mobinweaver opened this issue Dec 25, 2017 · 3 comments
Open

请问如何在mac上安装Opencv2? #2

mobinweaver opened this issue Dec 25, 2017 · 3 comments

Comments

@mobinweaver
Copy link

我运行的结果如下。安装了opencv,按时问题仍然在。谢谢。

Add-Christmas-Hat-master xxxx$ python add_hat.py
Traceback (most recent call last):
File "add_hat.py", line 2, in
import cv2
ImportError: No module named cv2

@cvno
Copy link

cvno commented Dec 26, 2017

可以看下这篇博客:
https://www.cnblogs.com/beer/p/5668620.html
需要注意的是要在配置的时候写上自己的python的环境地址

@kekekeyang
Copy link

那你可能有两个版本的python:(python2,python3),如果有,那你可能是吧OpenCV 安装到了 python下面。如果是这样的话,那你把OpenCV 安装到 python2 下面去就好了,下载包,放到python2 下面手动安装,没试过,可行性待考证!

@LiuXiaolong19920720
Copy link
Owner

@mobinweaver 参考下上面说的。
@cvno @manyHaitao 你们回复不@他们的话估计很难看到

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants