Skip to content

vscode error warning on Django development #933

Closed

Description

@tsalinger

Copied from Microsoft/vscode #44900,
Asked by bodii

  • VSCode Version: 1.20.1
  • OS Version: win7 and Ubuntu 17.10

Steps to Reproduce:

  1. 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;

  2. 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!

vscode_error

Does this issue occur when all extensions are disabled?: Yes

Activity

  1. brettcannon commented on Mar 2, 2018

    @brettcannon
    Member

    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.

  2. brettcannon commented on Apr 2, 2018

    @brettcannon
    Member

    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.

  3. locked as resolved and limited conversation to collaborators on Jul 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-lintingbugIssue identified by VS Code Team member as probable buginfo-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions