pocketlint command not found
In this troubleshooting guide we learn how to fix pocketlint command not found error message
Introduction
When you run more command in linux terminal / console, you get the following error message
pocketlint: command not found
or when using sudo you get the following error message
sudo: pocketlint: command not found
Solutions to pocketlint: command not found
How To Fix pocketlint: command not found in Ubuntu / Debian / Kali Linux / Raspbian
In Ubuntu pocketlint is provided by python3-pocket-lint package.
python3-pocket-lint is:
Pocket-lint has several notable features:
- Provides a consistent report of issues raised by the subordinate checkers.
- Alternate Reports can be written to change the report, or integrate the report into another application.
- Supports checking of multiple source types
- Python syntax and style
- Python doctest style
- XML/HTML style and entities
- CSS style
- JavaScript syntax and style
- Plain text
- Supports reporting
- Python doctests
- CSS
- XML/HTML
To fix this problem, we can install more using the command below.
sudo apt-get -y install python3-pocket-lint
This command might take some time to finish depending on your machine internet connection.
You can also use apt command to install python3-pocket-lint.
sudo apt -y install python3-pocket-lint
Or if you have aptitude installed you can use the following command.
sudo aptitude install python3-pocket-lint
Summary
In this tutorial we learn how to fix pocketlint command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.