kdave / btrfs-progs

Development of userspace BTRFS tools
GNU General Public License v2.0
527 stars 239 forks source link

How to resolve btrfsutil module not found #742

Closed AndroidDAO closed 4 months ago

AndroidDAO commented 4 months ago

I am running snapper-rollback, however this module not found error is stressing me I ran [code] yay -S snapper-rollback [/code]

and after encountering the error I ran, this to try to resolve the issue [code] sudo pacman -S btrfs-progs [/code]

the error keeps popping up is [code] sudo snapper-rollback 18 Traceback (most recent call last): File "/usr/bin/snapper-rollback", line 13, in import btrfsutil ModuleNotFoundError: No module named 'btrfsutil' [/code]

How can I resolve this

kdave commented 4 months ago

The btrfsutil module is the python interface to libbtrfsutil, have you installed that? Otherwise I don't know if I help you, this depends on your installation and how do you use snapper. Maybe package providing /usr/bin/snapper-rollback does not pull the dependencies properly.