how to install pyinstaller safely code example Example: how to use pyinstaller pyinstaller -- onefile <file name>