报错如下:

【踩坑】修复报错 you should not try to import numpy from its source directory_python

修复方法一:

pip install pyinstaller==5.9

修复方法二:

pip install numpy==1.24.1