The following is a truncated version of my code, which runs perfectly using Jupyter Notebook. I\'m looking to have it compiled into an .exe, using Pyinstaller.
If you are using python 3.8, try downgrading as pyinstaller doesn't support all new python versions