我试图在 jetson nano 的 docker 中安装 OpenCV4。它有喷气背包 4.4 s 操作系统。docker 已成功创建并且 Tensorflow 正在运行,但在使用 pip 安装 OpenCV 时,它显示 CMake 错误。
root@5abf405fb92d:~# pip3 install opencv-python
Collecting opencv-python
Downloading opencv-python-4.4.0.42.tar.gz (88.9 MB)
|????????????????????????????????| 88.9 MB 2.5 kB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Requirement already satisfied: numpy>=1.13.3 in /usr/local/lib/python3.6/dist-packages (from opencv-python) (1.18.4)
Building wheels for collected packages: opencv-python
Building wheel for opencv-python (PEP 517) ... error
ERROR: Command errored out with exit …Run Code Online (Sandbox Code Playgroud)