plac_runner.py command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
plac_runner.py: command not found
or when using sudo you get the following error message
sudo: plac_runner.py: command not found
Solutions to plac_runner.py: command not found
How To Fix plac_runner.py: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu plac_runner.py is provided by python3-plac package.
python3-plac is:
Technically plac is just a simple wrapper over argparse which hides most of its complexity by using a declarative interface: the argument parser is inferred rather than written down imperatively.
plac is targetting especially unsophisticated users, programmers, sys-admins, scientists and in general people writing throw-away scripts for themselves, choosing the command-line is surprisingly scalable upwards, even without using the underlying argparse.
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-plac
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-plac.
sudo apt -y install python3-plac
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-plac
Summary
In this tutorial we learn how to fix plac_runner.py command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.