[BUG] Missing RPi vendor control CnnEnableInputTensor

Open
#1,389 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
python
Domain
embedded-iot

Research direction

Start by reproducing the import from /home/rasberry/testcam.py using Picamera2 and Preview on the reported Raspberry Pi 4 and Raspberry Pi OS setup. Read picamera2/init.py and the libcamera import path, then trace the missing CnnEnableInputTensor symbol in _libcamera.cpython-313-aarch64-linux-gnu.so. Done means the Picamera2 import completes without the undefined-symbol error.

Written by the indexing model from the issue text.

Description

Please only report one bug per issue!

Describe the bug
File "/home/rasberry/testcam.py", line 2, in
from picamera2 import Picamera2, Preview
File "/usr/lib/python3/dist-packages/picamera2/init.py", line 4, in
import libcamera
File "/usr/lib/python3/dist-packages/libcamera/init.py", line 4, in
from ._libcamera import *
ImportError: /usr/lib/python3/dist-packages/libcamera/_libcamera.cpython-313-aarch64-linux-gnu.so: undefined symbol: _ZN9libcamera8controls3rpi20CnnEnableInputTensorE

Hardware :
Raspberry pi 4 with RaspberryPi Os

I already tried sudo apt update and sudo apt upgrade, but it doesnt work.

Dominant language
Python
Stars
1.2k
Forks
258
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from raspberrypi/picamera2

All issues in raspberrypi/picamera2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.