我正在使用Buildroot 2017.2作为操作系统在Raspberry Pi 3上安装picamera组件。
python -c "import picamera"
的输出如下:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/picamera/__init__.py", line 72, in <module>
from picamera.exc import (
File "/usr/lib/python2.7/site-packages/picamera/exc.py", line 41, in <module>
import picamera.mmal as mmal
File "/usr/lib/python2.7/site-packages/picamera/mmal.py", line 47, in <module>
from .bcm_host import VCOS_UNSIGNED
File "/usr/lib/python2.7/site-packages/picamera/bcm_host.py", line 47, in <module>
_lib = ct.CDLL('libbcm_host.so')
File "/usr/lib/python2.7/ctypes/__init__.py", line 362, in __init__
self._handle = _dlopen(self._name, mode)
OSError: File not found
显示的uname -a
信息系统是:
Linux buildroot 4.4.43-v7 #7 SMP Tue Aug 1 17:56:58 CEST 2017 armv7l GNU/Linux
我已设置gpu_mem=128
。
可能是什么问题?