Start PyLint from correct anaconda environment in Visual Studio Code
You have to install pylint
in this conda environment.
Activate given environment with
activate env_name
(Windows) orsource activate env_name
.Install
pylint
in this environment:conda install pylint # or 'pip install pylint'
Finally, restart vscode.
Source: https://github.com/DonJayamanne/pythonVSCode/wiki/Troubleshooting-Linting
Even after correct installation of python and pylint faced the issue due to wrong configuration of pylintArgs in visual studio code.
With below user settings got the issue resolved
"python.linting.pylintArgs": [
"--load-plugins",
"pylint_django"
]