html2markdown.py3 command not found

In this troubleshooting guide we learn how to fix html2markdown.py3 command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

html2markdown.py3: command not found

or when using sudo you get the following error message

sudo: html2markdown.py3: command not found

Solutions to html2markdown.py3: command not found

How To Fix html2markdown.py3: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu html2markdown.py3 is provided by python3-html2text package.

python3-html2text is:

html2text is a Python module that converts a page of HTML into clean, easy-to-read plain ASCII text. Better yet, that ASCII also happens to be valid Markdown (a text-to-HTML format).

This package contains the Python 3 version of the library, and a script, html2markdown.

To fix this problem, we can install more using the command below.

sudo apt-get -y install python3-html2text

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install python3-html2text.

sudo apt -y install python3-html2text

Or if you have aptitude installed you can use the following command.

sudo aptitude install python3-html2text

Summary

In this tutorial we learn how to fix html2markdown.py3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.