You are not logged in.
this is my output when I run lensfun-update-data:
Traceback (most recent call last):
File "/usr/bin/lensfun-update-data", line 46, in <module>
import lensfun
ModuleNotFoundError: No module named 'lensfun'I made sure my lensfun package is up to date:
extra/lensfun 1:0.3.4-5 [installed]
Database of photographic lenses and a library that allows advanced access to the databasepython --version output:
Python 3.13.11Last edited by ahmad0 (2025-12-18 12:52:22)
Offline
i tested with 0.3.4-5 and it seemed to work fine, have you tried reinstalling that package?
Last edited by system72 (2025-12-18 12:33:00)
Online
Ok I figured out what caused the issue, actually I have a python venv, which I put its bin directory in PATH variable before /usr/bin, I made this in puprose so when I run python it runs the venv python not the one in the /usr/bin, I changed the PATH variable to use the /usr/bin python (which has the lensfun module), and it worked.
Offline