User provided python venv, or how to work with arm64 libraries

24 views
Skip to first unread message

Ugo Delle Donne

unread,
Feb 19, 2025, 1:49:11 PM2/19/25
to iterm2-...@googlegroups.com
Hello folks,

I'm trying to add an integration with keepassxc database as a contextual menu using python scripts.

I have some python code that interacts with the keepassxc database that works as expected when I run it in my homebrew based venv, but it fails when it runs with the iTerm2 provided.

The error I get when executing with the iTerm2 python is that it cannot find the libsodium libraries.

After attempting some general troubleshooting I noticed that the issue is caused by the fact that the python embedded in iTerm is for x86_64 arch, while my mac uses arm64 arch.

From the tutorial it seems that I should be able to use the homebrew's python binaries but I couldn't manage to make it work.

Does anybody have a set of instructions on how the system should be configured?

Thanks for your help.
UDD

P.s. I apologize if this s being posted twice, I did post from the group web ui, but I couldn't see my original post, so I'm sending it again as email
Reply all
Reply to author
Forward
0 new messages