radon command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
radon: command not found
or when using sudo you get the following error message
sudo: radon: command not found
Solutions to radon: command not found
How To Fix radon: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu radon is provided by radon package.
radon is:
Radon is a Python tool which computes various code metrics. Supported metrics are:
raw metrics: SLOC, comment lines, blank lines, &c. Cyclomatic Complexity (i.e. McCabe’s Complexity) Halstead metrics (all of them) the Maintainability Index (a Visual Studio metric)
Radon can be used either from the command line or programmatically through its API.
To fix this problem, we can install more using the command below.
sudo apt-get -y install radon
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install radon.
sudo apt -y install radon
Or if you have aptitude installed you can use the following command.
sudo aptitude install radon
Summary
In this tutorial we learn how to fix radon command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.