You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use Python to develop the web, the framework is Django (version 2.0.2). When editing code, when introduced into Django class library vscode reported error;
In fact, vscode's friendliness to Python support, Flask and Django's class libraries and views (html) templates is less than the one I used when developing the web. I really hope vscode can support Python code development work, which is very useful for Python development. Thank you!
Does this issue occur when all extensions are disabled?: Yes
Does Pylint work when you run it manually? This is needed to verify this is because of the extension and not because of Pylint.
This sort of issue typically occurs when you don't have the django package installed for Pylint to find it. For instance, I see you are running from Anaconda but not in an environment and Django does not come pre-installed in the Anaconda distribution.
Because it has been more than a month since we requested more info, I'm closing this issue. If you are able to provide the info later then please do so and we can re-open the issue.
Activity
brettcannon commentedon Mar 2, 2018
Does Pylint work when you run it manually? This is needed to verify this is because of the extension and not because of Pylint.
This sort of issue typically occurs when you don't have the django package installed for Pylint to find it. For instance, I see you are running from Anaconda but not in an environment and Django does not come pre-installed in the Anaconda distribution.
brettcannon commentedon Apr 2, 2018
Because it has been more than a month since we requested more info, I'm closing this issue. If you are able to provide the info later then please do so and we can re-open the issue.