[Slackbuilds-users] html2text import error
Willy Sudiarto Raharjo
willysr at slackbuilds.org
Thu Jun 18 02:14:35 UTC 2026
>After reinstalling from scratch, with all deps, and no build errors,
>the newer html2text-2025.4.15 now has this import error.
>
>$ html2text --help
>Traceback (most recent call last):
> File "/usr/bin/html2text", line 5, in <module>
> from html2text.cli import main
> File "/usr/lib64/python3.9/site-packages/html2text/__init__.py",
> line
>13, in <module>
> from ._version import __version_tuple__
>ImportError: cannot import name '__version_tuple__' from
>'html2text._version'
>(/usr/lib64/python3.9/site-packages/html2text/_version.py)
>
>$ python3 --version
>Python 3.9.25
>
>
>** UPDATE via IRC **
>
><fourtysixandtwo> kingbeowulf: echo "__version_tuple__ = (2025, 4,
>15)"
> >> /usr/lib64/python3.9/site-packages/html2text/_version.py
><fourtysixandtwo> Urchlay: will need to add ^^ to slackbuild unless
>upstream fixes it
>
>fourtysixandtwo> Urchlay: ignore the previous comment, just add
>python3-setuptools-scm-opt as a dep...been a while since I had that
>issue and forgot that's the solution
><fourtysixandtwo> kingbeowulf: so that's the other option...add
>python3-setuptools-scm-opt and rebuild html2text
>
>-> issue is resolved.
Thanks
pushed to my branch
--
Willy Sudiarto Raharjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 870 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260618/324d6512/attachment.asc>
More information about the SlackBuilds-users
mailing list