You are not logged in.

#1 2023-07-13 16:58:54

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

[SOLVED] ModuleNotFoundError: No module named 'lensfun'

I run Arch Linux. After the lensfun update to version 1:0.3.4-1, I am getting the following error when I try to update the lensfun database:

 ~ sudo lensfun-update-data                                     
[sudo] password for cribari: 
Traceback (most recent call last):
  File "/usr/bin/lensfun-update-data", line 46, in <module>
    import lensfun
ModuleNotFoundError: No module named 'lensfun'

I have python version 3.11.3-2 on my system. Can anyone help me to sort this out? Many thanks in advance.

Last edited by cribari (2023-07-13 21:33:56)


Linux, street photography and Baroque music enthusiast.

Offline

#2 2023-07-13 17:48:36

schard
Forum Moderator
From: Hannover
Registered: 2016-05-06
Posts: 1,992
Website

Re: [SOLVED] ModuleNotFoundError: No module named 'lensfun'

It's a packaging bug. It appears that the .egg file is borked.


macro_rules! yolo { { $($tokens:tt)* } => { unsafe { $($tokens)* } }; }

Offline

#3 2023-07-13 21:32:32

cribari
Member
From: Recife, Brazil
Registered: 2016-01-28
Posts: 83
Website

Re: [SOLVED] ModuleNotFoundError: No module named 'lensfun'

The problem went away after the lensfun package was updated to version 1:0.3.4-2. Thanks, @schard .


Linux, street photography and Baroque music enthusiast.

Offline

Board footer

Powered by FluxBB