myst-anchors command not found

In this troubleshooting guide we learn how to fix myst-anchors command not found error message

Introduction

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

myst-anchors: command not found

or when using sudo you get the following error message

sudo: myst-anchors: command not found

Solutions to myst-anchors: command not found

How To Fix myst-anchors: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu myst-anchors is provided by python3-myst-parser package.

python3-myst-parser is:

MyST is a flavor of markdown that is designed for simplicity, flexibility, and extensibility. This package include a reference implementation of MyST Markdown, as well as a collection of tools to support working with MyST in Python and Sphinx.

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

sudo apt-get -y install python3-myst-parser

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

You can also use apt command to install python3-myst-parser.

sudo apt -y install python3-myst-parser

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

sudo aptitude install python3-myst-parser

Summary

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