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....)
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 yourun Python as root. Your normal user will never pick them up. So I'm not surprised it's not working.
/root/.local/share/pipx/shared/lib/python3.12/site-packages/pipx_shared.pth
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.
=20
Now, after three weeks on using the following code correctly:
=20
from mutagen import mp3, id3, File as mutaFile
from mutagen.id3 import ID3, TIT2, TPE1
=20
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
Must I be using a virtual environment?
..... Snipped
Sysop: | Tetrazocine |
---|---|
Location: | Melbourne, VIC, Australia |
Users: | 6 |
Nodes: | 8 (0 / 8) |
Uptime: | 138:56:44 |
Calls: | 154 |
Files: | 21,500 |
Messages: | 79,274 |