I recently have been trying to package one of my python scripts through pyinstaller. I can successfully run the pyinstaller nameofmyfile.py command in terminal, but
pyinstaller nameofmyfile.py