Use pyinstaller to package py file which is consist of PyTorch

After using pyinstaller to package the py file which is consist of PyTorch into an exe file. Double-click exe,it can’t run, and there is failed to execute script. Have you met this situation? How to solve it?