0

I have created a Django project in vscode. Generally, vscode automatically prompts me to install pylint but this time it did not (or i missed it). Even though everything is running smoothly, I am still shown import errors. How do I manually install pytlint for this project?

Also,in vscode i never really create a 'workspace'. I just create and open folders and that works just fine.

ps. Im using pipenv. dont know how much necessary that info was.

iscream
  • 680
  • 2
  • 8
  • 20

1 Answers1

1

Hi you must active your venv at the first then install pylint (pip install pylint)

In vscode: ctrl+shift+P then type linter (choose "python:select linter") now you can choose your linter (pylint)

I hope it helps you

RobC
  • 22,977
  • 20
  • 73
  • 80
Hmdbbgh
  • 3,008
  • 1
  • 7
  • 11