pydoctor command not found

In this troubleshooting guide we learn how to fix pydoctor command not found error message

Introduction

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

pydoctor: command not found

or when using sudo you get the following error message

sudo: pydoctor: command not found

Solutions to pydoctor: command not found

How To Fix pydoctor: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu pydoctor is provided by pydoctor package.

pydoctor is:

Pydoctor is a tool for generating API documentation for Python modules based on their docstrings via static analysis.

It was written primarily to replace epydoc for the purposes of the Twisted project as epydoc has difficulties with zope.interface.

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

sudo apt-get -y install pydoctor

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

You can also use apt command to install pydoctor.

sudo apt -y install pydoctor

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

sudo aptitude install pydoctor

Summary

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