[英]Install OpenCV via pip on Python 3.5 64-bit
I tried to install OpenCV, and I couldn't find any suitable pip packages for it.我尝试安装 OpenCV,但找不到任何合适的 pip 包。 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 2.7 的版本,它还说通过从 sourceforge 下载它而不是使用像 pip 这样的包管理器来手动安装 OpenCV。
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.我想知道是否有更好或更官方的方式在 python 3.5 中安装 OpenCV,或者如果失败,我应该安装一个 pip 包。
What OS are you on?你在什么操作系统上? If it's Windows have a look at
如果是 Windows 看看
http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv
To properly install the available wheels make sure you have pip version 8 installed.要正确安装可用的轮子,请确保安装了 pip 版本 8。
I tried to install OpenCV, and I couldn't find any suitable pip packages for it.我尝试安装OpenCV,但找不到适合它的pip软件包。 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 2.7的版本,还表示可以通过从sourceforge下载它来手动安装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.我想知道是否有更好或更正式的方式在python 3.5中安装OpenCV,否则,我应该安装pip中的软件包。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.