在 Python 3.5 64 位上通过 pip 安装 OpenCV [英] Install OpenCV via pip on Python 3.5 64-bit

查看:38
本文介绍了在 Python 3.5 64 位上通过 pip 安装 OpenCV的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试安装 OpenCV,但找不到任何合适的 pip 包.我决定在网上查找有关如何安装它的官方文档,并找到了 这个.不幸的是,这个文档不仅只支持使用 python 2.7 的版本,还说通过从 sourceforge 下载它来手动安装 OpenCV,而不是使用像 pip 这样的包管理器.

I tried to install OpenCV, and I couldn't find any suitable pip packages for it. I decided to look online for official documentation on how to install it, and found this. Unfortunately, not only does this documentation only give support for versions using python 2.7, it also says to install OpenCV manually by downloading it from sourceforge rather than using a package manager like pip.

我想知道是否有更好或更正式的方式在 python 3.5 中安装 OpenCV,或者如果失败,我应该安装一个 pip 包.

I want to know if there's a better or more official way of installing OpenCV in python 3.5, or failing that, a package in pip I should install instead.

推荐答案

您使用的是什么操作系统?如果是 Windows 看看

What OS are you on? If it's Windows have a look at

http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv

要正确安装可用的轮子,请确保已安装 pip 版本 8.

To properly install the available wheels make sure you have pip version 8 installed.

这篇关于在 Python 3.5 64 位上通过 pip 安装 OpenCV的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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