Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

This will be a memorable month -- no matter how hard you try to forget it.


comp / comp.lang.python / No module name mutagen

SubjectAuthor
o No module name mutagenTim Johnson

1
Subject: No module name mutagen
From: Tim Johnson
Newsgroups: comp.lang.python
Date: Wed, 1 Jan 2025 00:00 UTC
References: 1
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: thjmmj15@gmail.com (Tim Johnson)
Newsgroups: comp.lang.python
Subject: No module name mutagen
Date: Tue, 31 Dec 2024 15:00:10 -0900
Lines: 36
Message-ID: <mailman.46.1735689619.2912.python-list@python.org>
References: <2aab58dd-378d-4218-868d-09eda6e8d292@gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: news.uni-berlin.de DynMcisLUzXqyN3F4Oy9Bwmtje9sNetFHB0gZH0lH2sw==
Cancel-Lock: sha1:1DYVskz7YHwy04UuvFAgIRfQqEs= sha256:If2liiFRKW7l5KCzS4Eaf3wPNC9EKudv1sF2VIZL/j4=
Return-Path: <thjmmj15@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="2048-bit key; unprotected key"
header.d=gmail.com header.i=@gmail.com header.b=e3MeM50w;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.070
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'network.': 0.05; 'guido':
0.07; 'subject:module': 0.07; 'subject:name': 0.07; 'van': 0.07;
'dependencies': 0.09; 'import': 0.15; "(i'm": 0.16; 'utilities':
0.16; 'python': 0.16; 'message-id:@gmail.com': 0.18; 'to:addr
:python-list': 0.20; "i've": 0.22; 'command': 0.23; 'installed':
0.23; 'weeks': 0.23; 'code': 0.23; 'python,': 0.25; 'tim': 0.26;
'local': 0.27; 'error': 0.29; 'header:User-Agent:1': 0.30; 'do.':
0.32; 'received:192.168.1': 0.32; 'path': 0.33; 'script': 0.33;
'received:google.com': 0.34; 'package': 0.34;
'from:addr:gmail.com': 0.34; 'following': 0.35; 'using': 0.37;
'could': 0.37; 'received:192.168': 0.37; 'though': 0.37; 'file':
0.38; 'put': 0.38; 'thanks': 0.39; 'added': 0.39; 'least': 0.39;
'still': 0.40; 'ten': 0.61; 'today,': 0.62; 'email': 0.63; 'our':
0.63; 'upgrade': 0.64; 'let': 0.65; 'six': 0.65; 'now,': 0.67;
'stories': 0.69; 'desktop': 0.70; 'kids': 0.70; 'virtual': 0.71;
'content': 0.72; 'environment?': 0.84; 'occasion': 0.84; 'loss.':
0.91; 'newly': 0.93
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20230601; t=1735689612; x=1736294412; darn=python.org;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:from:to:cc:subject:date
:message-id:reply-to;
bh=3D3tm8AAGfG1vEvBWYjoUJqUTvjfQZidLISCmLHziCA=;
b=e3MeM50w7Lo2RUiLVUwk2n0SXAUT4s+f4OeM2S9OyiH5Z9ztSgzh/BT9J+tPaMgcKi
lmfTF96UDjQrQCwSfgRbM5RYYkeMm+bN/jDzfovhC+ll/k6wmcxF6+pRrQ4YfcWnYHwa
Y8DuVz2s9rQaHeUvKv+6kuMLBOEyiE8TA1nME4SxKnXDBflQvyHQIYihVYJcWJ0Jasjj
g30EGk3eVV+yGkdFTeeUKsObzZ9VJ5yNWsMa7z8/J3WoVMpol85y58Bh094QW8G2S75q
ntVxs4BnZF3blz38SopBgIEdL8SyMATzfSSS08XXHDbIjiC4CHK6h3UMsD09CJxvv9ck
H09w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1735689612; x=1736294412;
h=content-transfer-encoding:subject:from:to:content-language
:user-agent:mime-version:date:message-id:x-gm-message-state:from:to
:cc:subject:date:message-id:reply-to;
bh=3D3tm8AAGfG1vEvBWYjoUJqUTvjfQZidLISCmLHziCA=;
b=Evz/+gw/ZMvXs43jlDzNXHdzJFdSGI/V566h/q9yZIlBYtWf+8YNTBX63BX9QeY18X
tWjRtKzztkAmYCyOQ8OA+qseuf4Ylpawu5rqgbk1FHqu365NKJO40wNyH9JWzzZlaDJQ
R+vCf98eyqGSQJSxFbRnazGCMcKSYZKQM8leTq34nxFSIt9pXU9EdypGFs6UZlwmyGP2
uGHllVnVXSveEKbEWBX9CpAIOYVPvcGK0GMYA6upUrVUGCeNy1hhkV+K+fFyP8eWXQhC
nC/2+TpZEasjb9jzmRVCjGvY1SZjpKFVUM8V5F03G3bhj9WYlP2yOGEPyEBHkpcvQyVx
7NYg==
X-Gm-Message-State: AOJu0Yx8xaKLyWUB6utHaG9t4D1JU0h74taQ/KTFLwX+Soi+haQ1tDyh
ho1OMqU4eNUNj1u8ZbZJsOd9d0gAGOhJJ4rzeD1PL8uCzxBbrsDjBwD22v2j
X-Gm-Gg: ASbGnctmkkLu2dhK6U+o4SDEo7m6JSGbgIgWLdsXDCYhH0NHepZ3avjiwB9VIqzOqM+
9MX8wheuhSo6bCElHhePqpKMgRHY9Kq9CrK71xd3OyqL9SY8ncpCEQvPde76swL5ZESm0HIdWHK
7wInkXwIFIfvWbYmJnc7q3HrZDtT09QAzb8dPaLyiraPVgtKNSai238Bez9sS9jiSMTvH9ja5nS
YkQntsf9yO3MHccMiD9o/3ljdX2cOsoQlaNWB2IvWoBguBhJ4WHWJmRDJSV4GdJmHg6aDta/J31
X-Google-Smtp-Source: AGHT+IHxvVOWjuEk9gB/H+kPwFWmuy1BZvoyeOXtSB7anET1mK6yFbNAxE7RIvrUX5ebmEPlluHxHg==
X-Received: by 2002:a05:6a00:2c86:b0:725:cfa3:bc76 with SMTP id
d2e1a72fcca58-72abdd4f2a7mr65060430b3a.4.1735689611842;
Tue, 31 Dec 2024 16:00:11 -0800 (PST)
User-Agent: Mozilla Thunderbird
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <2aab58dd-378d-4218-868d-09eda6e8d292@gmail.com>
View all headers

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

1

rocksolid light 0.9.8
clearnet tor