Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #197129

Re: No module name mutagen

From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: No module name mutagen
Date 2024-12-31 22:41 -0700
Message-ID <mailman.48.1735710115.2912.python-list@python.org> (permalink)
References <2aab58dd-378d-4218-868d-09eda6e8d292@gmail.com> <CAM1e3vonT_gszdAAp1LcvNGR9Fg4myZ4eNHuYWAKGSyTbUL7WA@mail.gmail.com>

Show all headers | View raw


On Tue, Dec 31, 2024, 17:04 Tim Johnson via Python-list <
python-list@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.

Back to comp.lang.python | Previous | Next | Find similar


Thread

Re: No module name mutagen Michael Torrie <torriem@gmail.com> - 2024-12-31 22:41 -0700

csiph-web