-
Notifications
You must be signed in to change notification settings - Fork 101
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
python bindings when building from scratch #170
Comments
@pbaetens thanks for the info. I must admit, python and venv is not something I am very familiar with, so I cannot say if there is a better way than what you described. @davidplowman @XECDesign is this a solution to the venv issue we were talking about last week? |
seems related to: |
I've hit this a few times and I just set the python path which is another "work around". But I would love to see this resolved more globally too. @will-v-pi there are comments from Tomi for you. Do you have time to reply to the patch please? |
@kbingham I think the decision on that patch was not to merge it, as the behaviour that I was looking for wasn't cleanly compatible with cross-compilation? The patch was getting a bit complicated, and wasn't actually required for my I have a small downstream patch in raspberrypi/pylibcamera which I'm using to build the |
From the above comments, I don't think there's anything we are able to do here... |
Hi all,
situation:
I build latest libcam and rpicam-apps from scratch.
commands like rpicam-hello work fine.
However, the python binding is not working.
Solution:
create a symbolic link to a place where python can find the .so file
sudo ln -sf /usr/local/lib/aarch64-linux-gnu/python3.11/site-packages/libcamera /usr/local/lib/python3.11/dist-packages/libcamera
OS: Bookworm
Question:
is this the way to do it, or is there a better way?
The text was updated successfully, but these errors were encountered: