“找不到满足opencv-python要求的版本" [英] "Could not find a version that satisfies the requirement opencv-python"

查看:715
本文介绍了“找不到满足opencv-python要求的版本"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为Jetson TX2开发板(aarch64)苦苦挣扎.

I am struggling with Jetson TX2 board (aarch64).

我需要为OpenCV安装python包装器.

I need to install python wrapper for OpenCV.

我可以做到:

$ sudo apt-get install python-opencv

但是我不能:

$ sudo pip install opencv-python

这是因为 http://www中没有正确的转轮文件. lfd.uci.edu/~gohlke/pythonlibs/#opencv ?

是否可以通过pip安装opencv-python?

Is there a way to install opencv-python through pip?

推荐答案

pip不使用 PyPI .

问题在于您有一个不寻常的体系结构; pip找不到适合它的包,并且没有源代码包.

The problem is that you have an unusual architecture; pip cannot find a package for it and there is no source code package.

不幸的是,我认为您是一个人.您必须从 https://github.com/skvark/opencv-python 下载源代码,安装编译器和必要的库,然后自己编译OpenCV.

Unfortunately I think you're on your own. You have to download source code from https://github.com/skvark/opencv-python, install compiler and necessary libraries and compile OpenCV yourself.

这篇关于“找不到满足opencv-python要求的版本"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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