I copyed all the files about itk from site-packages, and replace the files on the exe folder.
Before this operation, I also made the following attempts:
- Pip uninstall itk and reinstall itk;
- Add itk’s path to .spec;
- Try pyinstaller from begin;
There was no error reported in the end.