Python Forum
pylint complains that it can't find import
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pylint complains that it can't find import
#1
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?
Reply


Messages In This Thread
pylint complains that it can't find import - by Larz60+ - Sep-26-2018, 10:46 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Warning regarding instaling pylint in VS Code Truman 10 10,938 Feb-26-2020, 01:30 AM
Last Post: Truman

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020