Python Forum
pylint complains that it can't find import - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: General (https://python-forum.io/forum-1.html)
+--- Forum: News and Discussions (https://python-forum.io/forum-31.html)
+--- Thread: pylint complains that it can't find import (/thread-13054.html)



pylint complains that it can't find import - Larz60+ - Sep-26-2018

I have a script that I just finished. It's a long one, and I have one annoying pylint error message:
"message": "E0401:Unable to import 'ScraperPaths'"
Python has no problem finding the import (which is local, and one of my files).
The program is properly defined in my main __init__.py file, but pylint still thinks it's not reachable.
using python 3.6.6, openSuse leap 15, and VSCode
here's the entire error:
Error:
"resource": "....", "owner": "python", "code": "E0401", "severity": 8, "message": "E0401:Unable to import 'ScraperPaths'", "source": "pylint", "startLineNumber": 12, "startColumn": 1, "endLineNumber": 12, "endColumn": 1
Anyone know what kind of sorcery I have to use to eliminate this rather annoying message?

Is anyone else getting this error?