I think the problem is because i coded it on ubuntu and packaged it with pyinstaller. I will try and see if i can fix the error. Thank you for commenting