@millihertz
No, I don't think it's limited to Void, it's Python's idea that you should use your distro's package manager to install the modules instead of pip — however pip is still there so you can use it to install modules to venvs.
There is a switch that allows you to force the installation of module into user's site-packages — it's a temporary solution, a more permanent one would be Void shipping standard-imghdr and make it a dependency of epy.
@millihertz
No, venvs are good once you get more comfortable with them, I have a bunch of homebrew stuff in Python and venvs solve problem like this just fine, I just source activate.sh, then run stuff like I normally would.
But they aren't the solution in this particular case of course as epy is a systemwide package, something like "pip3 install --break-system-packages --compile --user standard-imghdr" did the trick fixing epy for me.
@millihertz
When Void starts shipping this standard-imghdr thing we can remove it out of ${HOME}/.local/lib/python3.13/site-packages/ and use that instead.
If you are looking for alternatives to epy — check out bookworm, it's a pretty simple ebook reader, AFAIR it doesn't bring in too many dependencies if you already have GTK installed and it doesn't have this standard-imghdr problem.
@m0xee i tried to use venvs once. *shudder* never. EVER. again. 😱