python-argcomplete-check-easy-install-script3 command not found

In this troubleshooting guide we learn how to fix python-argcomplete-check-easy-install-script3 command not found error message

Introduction

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

python-argcomplete-check-easy-install-script3: command not found

or when using sudo you get the following error message

sudo: python-argcomplete-check-easy-install-script3: command not found

Solutions to python-argcomplete-check-easy-install-script3: command not found

How To Fix python-argcomplete-check-easy-install-script3: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu python-argcomplete-check-easy-install-script3 is provided by python3-argcomplete package.

python3-argcomplete is:

Argcomplete provides easy, extensible command line tab completion of arguments for your Python script.

It makes two assumptions:

  • You’re using bash as your shell
  • You’re using argparse to manage your command line arguments/options

Argcomplete is particularly useful if your program has lots of options or subparsers, and if your program can dynamically suggest completions for your argument/option values (for example, if the user is browsing resources over the network).

This package provides the module for Python 3.x.

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

sudo apt-get -y install python3-argcomplete

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

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

sudo apt -y install python3-argcomplete

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

sudo aptitude install python3-argcomplete

Summary

In this tutorial we learn how to fix python-argcomplete-check-easy-install-script3 command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.