No module name mutagen

Michael Torrie torriem at gmail.com
Wed Jan 1 00:41:42 EST 2025


On Tue, Dec 31, 2024, 17:04 Tim Johnson via Python-list <
python-list at python.org> wrote:

> I am as of today, getting an import error for mutagen. Mutagen package
> is installed at /root/.local/share/pipx/shared/lib/python3.12/site-packages


> Pip-installed packages that go to /root/.local are only available when you
run Python as root.  Your normal user will never pick them up. So I'm not
surprised it's not working.


and indeed, that is the content of
> /root/.local/share/pipx/shared/lib/python3.12/site-packages/pipx_shared.pth
>

Could you not apt install python3-mutagen? That will be accessible to all
users.


More information about the Python-list mailing list