Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install html2text (Python)

Tags:

python

I'm trying to install html2text and I've used sudo pip install html2text but I get the error ImportError: No module named 'html2text'
I'm not sure if i need to install any things before doing the html2text install command. I'm very new to Python. I'm using Python 3.5. (Using Mac)

like image 619
KamilDev Avatar asked Oct 26 '25 05:10

KamilDev


1 Answers

you can download source from https://pypi.python.org/pypi/html2text , then extract archive

tar -xvf html2text-2015.11.4.tar.gz

and install with

python setup.py install
like image 163
Elena NNN Avatar answered Oct 28 '25 17:10

Elena NNN



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!