a.hiddenimports += ['/home/ubuntu/.local/lib/python3.8/site-packages/PIL._tkinter_finder'] a.datas += [('./icons/new_param_btn.png', './icons/new_param_btn.png', 'DATA')] a.datas += [('./icons/delete_param_btn.png', './icons/delete_param_btn.png', 'DATA')]