Start PyLint from correct anaconda environment in Visual Studio Code

You have to install pylint in this conda environment.

  1. Activate given environment with activate env_name (Windows) or source activate env_name.

  2. Install pylint in this environment:

    conda install pylint # or 'pip install pylint'
    
  3. 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"
    ]