Python Forum

Full Version: pylint complains that it can't find import
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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?