ModuleNotFoundError: No module named 'cupy._core. routines_sorting
Prompt for missing packages
Using pyinstaller -D views.py --nocons can be packaged normally but an error occurs when running
Indicates that this packaging tool ignores many implicitly imported packages
The solution is simple
hiddenimports = ['fastrlock', 'fastrlock.rlock', 'cupy.core.flags'] First add these missing packages
Then just copy it over and overwrite it. It’s just that the packaging tool is faulty.