ipdb3 command not found

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

Introduction

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

ipdb3: command not found

or when using sudo you get the following error message

sudo: ipdb3: command not found

Solutions to ipdb3: command not found

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

In Ubuntu ipdb3 is provided by python3-ipdb package.

python3-ipdb is:

ipdb is a replacement for pdb Python debugger, adding IPython features (tab completion, syntax highlighting, better tracebacks, better introspection) to it.

ipdb contains replacements for all functions from the pdb stdlib module. It also contains the ipdb3 binary which can be used instead of the pdb3 binary to debug standalone scripts.

This package contains the Python 3 version of the module.

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

sudo apt-get -y install python3-ipdb

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

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

sudo apt -y install python3-ipdb

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

sudo aptitude install python3-ipdb

Summary

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