Pyflakes is a Python code analysis package. It can analyze your code, and spot potential problems such as:
Unused imports
Unused variables
Choose one of the following listed options to install pyflakes
:
We can install
pyflakes
with thepip
command:sudo pip install pyflakes
We can install
pyflakes
with theeasy_install
command:sudo easy_install pyflakes
Installing on Linux.
The Linux package name is
pyflakes
as well. For instance, on Red Hat do the following:sudo yum install pyflakes
On Debian/Ubuntu, the command is:
sudo apt-get install pyflakes