markdown_py command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
markdown_py: command not found
or when using sudo you get the following error message
sudo: markdown_py: command not found
Solutions to markdown_py: command not found
How To Fix markdown_py: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu markdown_py is provided by python3-markdown package.
python3-markdown is:
Markdown is a text-to-HTML conversion tool for web writers. Markdown allows you to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).
This is a Python implementation of John Gruber’s Markdown. The current version of python-markdown implements all Markdown syntax features and fully passes Markdown Test Suite 1.0. It also supports footnotes and attributes.
This package contains all the files needed to use Markdown with Python 3.x.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-markdown
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-markdown.
sudo apt -y install python3-markdown
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-markdown
Summary
In this tutorial we learn how to fix markdown_py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.