Search code examples
pythonimportvisual-studio-codepylintgnuradio

There is a way to eliminate the errors "Unable to import XXX" on VSCode?


I'm using VSCode to write my Python code and even the code run properly the pylint report the error: "Unable to import xxx"

see the figure below! how can I avoid it? enter image description here


Solution

  • problem solved ... In my case I just needed to set another interpreter. just press F1 on vscode window and type Python:Select you will get right prompts