Linter pylint is not installed

612    Asked by Daminidas in Python , Asked on Apr 19, 2021

I am using Microsoft Visual Studio Code to run my python code but it shows the error that 

Linter pylint is not installed

These three I have already installed in my system

  • The VS Code Python extension

  • Python3

  • Anaconda

Tell me how to install pylint?

Answered by Daniel BAKER

Follow these 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 the python root directory

macOS- Run the command: which pylint

This will resolve your error “ linter pylint is not installed”.



Your Answer

Interviews

Parent Categories