I am trying to package my code as one exe using pyinstaller. I run this code to package it:
python3 GRR_assis_yield.py
The ‘Input_file.csv’ file exists where the executable file is present.
I get my code as one exe file successfully, but when I run it I get the following error:
Exception in Tkinter callback
Exception in Tkinter callback
Traceback (most recent call last):
File "tkinter/__init__.py", line 1968, in __call__
File "GRR_assis_yield.py", line 45, in grr_file_prep
File "GRR_assis_yield.py", line 27, in read_csv_with_yield
FileNotFoundError: [Errno 2] No such file or directory: 'Inpute_File.csv'
Jatin is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2