Resources
FastAPI error: ImportError: attempting relative import with no known parent package
FastAPI error: Import Error: attempting relative import with no known parent package The Problem I’m trying to split my FastAPI application’s code into different files, but I keep getting this error when I try to import them into main.py: Import Error: attempted relative import with no known parent package The import line at the top of main.py looks like this: from .
