Steps to install pylint-
1. Open a command prompt or terminal(For windows,navigate to install location).
2. Run: python-m pip install pylint
If the above process doesn’t work, then there may be a slight chance that you have configured a non-default python path for your editor and if that happens, you will have to match that python’s install location with that of the pip executable that you are calling from the terminal.
Location of Pylint executable-
Windows-pylint.exe should be in python root directory
macOS- Run the command: which pylint