更新时间:2023-09-26 17:49:40
你正在尝试编译一些简单的请求 DEV 包的东西,你只有 Python 解释器包,在 Raspberry PI 中你必须有 python-dev
和 python3-dev
为例,如果你使用的是树莓派尝试运行:
You are trying to compile something that is simple requesting the DEV packages, you have only the Python interpreters packages, in Raspberry PI you must have python-dev
and python3-dev
for example, if you are using Raspberry PI try to run:
sudo apt-get install -y python-dev python3-dev
然后你会通过这一步,如果有其他错误再发新帖.
Then you will pass this step, if there come another errors make new posts.
关于如何为 Raspberry PI 编译 OpenCV 的一个很好的简单教程,您可以在这里找到:https:///www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/
A good and simple tutorial on how to compile OpenCV for Raspberry PI you found here: https://www.pyimagesearch.com/2016/04/18/install-guide-raspberry-pi-3-raspbian-jessie-opencv-3/