Python type error AFTER compiling to .exe
问题 I have this python 3 project, running perfectly when I run it from my pycharm IDE. However when I compile it to an .exe I get an type error when executing a certain line?? I compile to exe using pip and pyinstaller. command used: pyinstaller --onefile gui.py *ERROR I GET when executing the .exe: Traceback (most recent call last): File "tkinter\__init__.py", line 1705, in __call__ File "gui.py", line 37, in clicked File "passmarkDriver.py", line 48, in runPassmarkTest TypeError: a bytes-like