Start PyLint from correct anaconda environment in Visual Studio Code
问题 I'm trying to make PyLint automagically use correct conda environment inside vscode but still getting import errors: [pylint] E0401:Unable to import 'django' , although: I'm starting vscode from correct environment. [1] I have installed Python extension. [2] I have set correct python.path . [3] 回答1: You have to have installed pylint in this conda environment. Activate given environment with activate env_name (Windows) or source activate env_name . Install pylint in this environment: conda