No module name mutagen

Liste des GroupesRevenir à cl python 
Sujet : No module name mutagen
De : thjmmj15 (at) *nospam* gmail.com (Tim Johnson)
Groupes : comp.lang.python
Date : 01. Jan 2025, 01:00:10
Autres entêtes
Message-ID : <mailman.46.1735689619.2912.python-list@python.org>
References : 1
User-Agent : Mozilla Thunderbird
Please let me grumble for a minute : I've been using python since before 1. 5, when I could email Guido van Rossum directly with questions
and on  at least one occasion we swapped stories about our cats. I put six kids though college writing python, and now after
being retired for ten years, I get my butt kicked by python dependencies every time I upgrade ubuntu. (I'm newly on 24.04) now.
Now, after three weeks on using the following code correctly:
from mutagen import mp3, id3, File as mutaFile
from mutagen.id3 import ID3, TIT2, TPE1
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
and indeed, that is the content of /root/.local/share/pipx/shared/lib/python3.12/site-packages/pipx_shared.pth
I have added that to my path and am still getting the error. Grrr...
I am at a loss. don't know what to do. I am only using python script for command line utilities on my desktop and local network.
Must I be using a virtual environment? If so, I would be happy to set one up if I am given the python-approved directions
(lots of conflicting info out there....)
Thanks
Tim

Date Sujet#  Auteur
1 Jan 25 o No module name mutagen1Tim Johnson

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal