2

After converting my Python code to an executable, I am getting the following fatal errors when trying to run the program:

1. Failed to run pyiboot01_bootstrap script

2. Error: "NoneType" object has no attribute "write"

3. Error described in the figure: pic3.jpg Error 3

Note: The program works perfectly when running on VS Code. The program is basically an interface that extracts data from a text file. I attached the program below and the screens with the code that generated my .exe file

Screen Auto py to exe

Screen output Auto Py to exe

Any suggestions?

4

1 回答 1

0

问题可能出在pyinstaller本身..

重新安装 pyinstaller 和 auto-py-to-exe 并重试..

于 2021-03-08T09:45:10.003 回答