pycodestyle command not found
Introduction
When you run more command in linux terminal / console, you get the following error message
pycodestyle: command not found
or when using sudo you get the following error message
sudo: pycodestyle: command not found
Solutions to pycodestyle: command not found
How To Fix pycodestyle: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pycodestyle is provided by pycodestyle package.
pycodestyle is:
Features a plugin architecture allowing for adding new checks is easily. Parseable output listing line numbers of the error location. Consists of just one Python file, and requires only stdlib.
To fix this problem, we can install more using the command below.
sudo apt-get -y install pycodestyle
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install pycodestyle.
sudo apt -y install pycodestyle
Or if you have aptitude installed you can use the following command.
sudo aptitude install pycodestyle
Summary
In this tutorial we learn how to fix pycodestyle command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.