使用pyinstaller打包后,执行exe 出现错误,直接执行python脚本正常

E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\dist\main_partseg>main_partseg.exe --model pointcnn --model_path E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\data\powerline\best_test_iou.pkl --dataset_folder E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\data\powerline\val
Traceback (most recent call last):
File “main_partseg.py”, line 18, in
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in _load_unlocked
File “PyInstaller\loader\pyimod03_importers.py”, line 495, in exec_module
File “misc\utils.py”, line 1, in
File “”, line 991, in _find_and_load
File “”, line 975, in _find_and_load_unlocked
File “”, line 671, in load_unlocked
File “PyInstaller\loader\pyimod03_importers.py”, line 495, in exec_module
File "jittor_init
.py", line 13, in
File “”, line 991, in find_and_load
File “”, line 975, in find_and_load_unlocked
File “”, line 671, in load_unlocked
File “PyInstaller\loader\pyimod03_importers.py”, line 495, in exec_module
File "jittor_utils_init
.py", line 569, in
File "jittor_utils_init
.py", line 335, in find_cache_path
File "jittor_utils_init
.py", line 282, in get_jittor_version
FileNotFoundError: [Errno 2] No such file or directory: ‘E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\dist\main_partseg\jittor_utils\…/jittor/init.py’
[24624] Failed to execute script ‘main_partseg’ due to unhandled exception!

拷贝jittor_init_.py到对应目录后,重新执行运行,卡住
E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\dist\main_partseg>main_partseg.exe --model pointcnn --model_path E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\data\powerline\best_test_iou.pkl --dataset_folder E:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\data\powerline\val
[i 0623 10:34:31.630811 12 compiler.pyc:953] Jittor(1.3.4.14) src: e:\workspace\pointcloud.deeplearning\pointcloudlib.jittor\src\dist\main_partseg\jittor
[i 0623 10:34:31.662054 12 compiler.pyc:954] cl at C:\Users\210809.cache\jittor.cache\jittor\msvc\VC_____\bin\cl.exe(19.29.30133)
[i 0623 10:34:31.662054 12 compiler.pyc:955] cache_path: C:\Users\210809.cache\jittor.cache\jittor\jt1.3.4\cl\py3.8.13\Windows-10-10.x2e\IntelRCoreTMi7xa6\default
[i 0623 10:34:31.662054 12 install_cuda.pyc:53] cuda_driver_version: [11, 4, 0]
[i 0623 10:34:31.708917 12 __init__.pyc:411] Found C:\Users\210809.cache\jittor.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe(11.2.67) at C:\Users\210809.cache\jittor.cache\jittor\jtcuda\cuda11.2_cudnn8_win\bin\nvcc.exe.
[i 0623 10:34:31.807298 12 compiler.pyc:1008] cuda key:cu11.2.67
[i 0623 10:34:31.807298 12 __init__.pyc:227] Total mem: 15.77GB, using 5 procs for compiling.