Some packers remove the .pyc magic numbers and structure to reduce size. Without that structure, decompilers cannot recognize the file as valid Python bytecode.
Do you have a specific EXE you’re trying to recover? Share your situation in the comments below—but remember to respect intellectual property and software licenses.