Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency or configuration missing? #2

Open
mar33cki opened this issue Feb 12, 2025 · 1 comment
Open

Dependency or configuration missing? #2

mar33cki opened this issue Feb 12, 2025 · 1 comment

Comments

@mar33cki
Copy link

I'm trying to run the picamzero on RPi Zero 1.1 with RPi Zero V1.3 Camera. What do I miss here?

meter@raspberrypi:~ $ sudo apt install python3-picamzero
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-picamzero is already the newest version (1.0.1-1).
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
meter@raspberrypi:~ $ python3
Python 3.11.2 (main, Nov 30 2024, 21:22:50) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> picamzero --version
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NameError: name 'picamzero' is not defined
>>> from picamzero import Camera
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/picamzero/__init__.py", line 3, in <module>
    from .Camera import Camera
  File "/usr/lib/python3/dist-packages/picamzero/Camera.py", line 10, in <module>
    from libcamera import Transform
  File "/usr/lib/python3/dist-packages/libcamera/__init__.py", line 4, in <module>
    from ._libcamera import *
ImportError: /lib/arm-linux-gnueabihf/libcamera.so.0.3: undefined symbol: _ZN7libpisp22compute_optimal_strideER24pisp_image_format_config
>>> exit()
meter@raspberrypi:~ $ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 12 (bookworm)"
NAME="Raspbian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=raspbian
ID_LIKE=debian
HOME_URL="http://www.raspbian.org/"
SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
meter@raspberrypi:~ $ 

@mar33cki
Copy link
Author

found similar problem with other picam lib, remedy was to update and full-upgrade and reboot

sudo apt update
sudo apt full-upgrade
sudo reboot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant