在 Python3.3 中安装 OpenCV [英] Installing OpenCV in Python3.3

查看:66
本文介绍了在 Python3.3 中安装 OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 python 3.3.2 和 Ubuntu 12.04 中安装 OpenCV.我已经学习了本教程

I'm trying to install OpenCV in python 3.3.2 and Ubuntu 12.04. I've followed this tutorial

为 Python 3.3 安装 opencv

但我似乎无法让它工作.当我尝试导入 cv2"时,它说没有具有该名称的模块

but I can't seem to make it work. When I try to 'import cv2' it says there is no module with that name

对这个问题有帮助吗?谢谢.

Any help with this issue? Thanks.

推荐答案

在 ubuntu 中,您可以输入命令:须藤 apt-get 安装 python-opencv这将为您的python提供兼容版本的opencv.

In ubuntu, you can type command: sudo apt-get install python-opencv which will provide you compatible version of opencv to your python.

这篇关于在 Python3.3 中安装 OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆