empy3 command not found

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

Introduction

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

empy3: command not found

or when using sudo you get the following error message

sudo: empy3: command not found

Solutions to empy3: command not found

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

In Ubuntu empy3 is provided by python3-empy package.

python3-empy is:

EmPy is a system for embedding Python expressions and statements in template text; it takes an EmPy source file, processes it, and produces output. This is accomplished via expansions, which are special signals to the EmPy system and are set off by a special prefix (by default the at sign, ‘@’). EmPy can expand arbitrary Python expressions and statements in this way, as well as a variety of special forms. Textual data not explicitly delimited in this way is sent unaffected to the output, allowing Python to be used in effect as a markup language. Also supported are “hook” callbacks, recording and playback via diversions, and dynamic, chainable filters. The system is highly configurable via command line options and embedded commands.

This is the Python 3 version of the package. This version installs the empy executable under the name “empy3”

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

sudo apt-get -y install python3-empy

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

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

sudo apt -y install python3-empy

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

sudo aptitude install python3-empy

Summary

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