vs code python test pylint error

Binway 696 Reputation points
2020-11-19T22:52:36.64+00:00

Hi Folks I am trying to complete the very simple Python testing tutorial at [testing][1] using visual studio code. But I get an error saying unable to import inc_dec pylint import error-screenshot attached. I have checked my path has python3.7 and pip install pylint says it is there. Intellisense shows import and inc_dec so I have NFI where to look to fix this error. ![41090-pylint.jpg][2] [1]: https://code.visualstudio.com/docs/python/testing [2]: /api/attachments/41090-pylint.jpg?platform=QnA Thanks in advance

Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
349 questions
0 comments No comments
{count} votes

Accepted answer
  1. Dylan Zhu-MSFT 6,416 Reputation points
    2020-11-20T09:53:14.97+00:00

    Hi WayneBartkowski,

    Please refer to this document: vscode (pythonVSCode): how to fix the issue that unable to import 'somemodule', hope it could help you.

    And since vs code is not supported in Microsoft Q&A forum, we recommend you could go to github, and then you will get dedicated support there.

    Best Regards,
    Dylan


    If the answer is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our **documentation to enable e-mail notifications if you want to receive the related email notification for this thread.**

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.