Installing html2text

Dan Hinckley dbh at suiattle.org
Mon Jun 17 02:11:39 UTC 2024


installed this port, then tried to run it. MacOS Monterey seems to think I want to use the Python version? Do I have a path problem? All my other Ports work fine.

echo $PATH

> /opt/miniconda3/bin:/opt/miniconda3/condabin:/Users/house/Library/Python/3.8/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/Library/Apple/usr/bin:/Users/house/Library/Application Support/JetBrains/Toolbox/scripts

> sudo port install html2text
> Password:
> --->  Computing dependencies for html2text
> --->  Fetching archive for html2text
> --->  Attempting to fetch html2text-2.2.3_0.darwin_21.arm64.tbz2 from https://packages.macports.org/html2text
> --->  Attempting to fetch html2text-2.2.3_0.darwin_21.arm64.tbz2.rmd160 from https://packages.macports.org/html2text
> --->  Installing html2text @2.2.3_0
> --->  Activating html2text @2.2.3_0
> --->  Cleaning html2text
> --->  Scanning binaries for linking errors
> --->  No broken files found.                             
> --->  No broken ports found.
> (base) ➜  html2text-master html2text                  
> Traceback (most recent call last):
>   File "/Users/house/Library/Python/3.8/bin/html2text", line 5, in <module>
>     from html2text.cli import main
> ModuleNotFoundError: No module named 'html2text'
> (base) ➜  html2text-master whereis html2text
> html2text: /Users/house/Library/Python/3.8/bin/html2text /opt/local/share/man/man1/html2text.1.gz
> (base) ➜  html2text-master 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20240616/2c7eaa18/attachment.htm>


More information about the macports-users mailing list