Skip to content Skip to sidebar Skip to footer

VSCode Unable To Import 'example' Pylint(import-error)

I am getting pylint errors in VSCode that say they are unable to import local files. However, I am able to run the files through the debugger with no problem. I thought that pylint

Solution 1:

Do you have __init__.py files inside those folders? Otherwise python won't recognise them as modules and will be unable to import the code. Have a look at https://stackoverflow.com/a/448279/5015356 for more information


Solution 2:


Post a Comment for "VSCode Unable To Import 'example' Pylint(import-error)"