pyinstaller assign_detector_serial.py --onefile --console --clean --debug all -p "C:\PASS\bin"
1812 INFO: PyInstaller: 5.6.2
1812 INFO: Python: 3.10.8
2038 INFO: Platform: Windows-10-10.0.19044-SP0
2042 INFO: wrote c:\PASS\bin\assign_detector_serial.spec
2050 INFO: UPX is not available.
2051 INFO: Removing temporary files and cleaning cache in C:\Users\mohmes-pa\AppData\Local\pyinstaller
4159 INFO: Extending PYTHONPATH with paths
['c:\\PASS', 'C:\\PASS\\bin']
9239 INFO: checking Analysis
9240 INFO: Building Analysis because Analysis-00.toc is non existent
9240 INFO: Initializing module dependency graph...
9267 INFO: Caching module graph hooks...
9289 WARNING: Several hooks defined for module 'numpy'. Please take care they do not conflict.
9358 INFO: Analyzing base_library.zip ...
22906 INFO: Loading module hook 'hook-heapq.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
23161 INFO: Loading module hook 'hook-encodings.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
29746 INFO: Loading module hook 'hook-pickle.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
32393 INFO: Caching module dependency graph...
32667 INFO: running Analysis Analysis-00.toc
32707 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable
required by C:\Program Files\Python310\python.exe
33035 INFO: Analyzing c:\PASS\bin\assign_detector_serial.py
33201 INFO: Processing pre-safe import module hook win32com from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'.
34735 INFO: Loading module hook 'hook-win32com.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
34743 INFO: Loading module hook 'hook-pythoncom.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
38061 INFO: Loading module hook 'hook-pywintypes.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
43364 INFO: Loading module hook 'hook-platform.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
43925 INFO: Loading module hook 'hook-xml.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
44096 INFO: Loading module hook '
hook-xml.etree.cElementTree.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
45006 INFO: Processing pre-safe import module hook urllib3.packages.six.moves from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\
hook-urllib3.packages.six.moves.py'.
48976 INFO: Loading module hook 'hook-cryptography.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
61116 INFO: Loading module hook 'hook-bcrypt.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
61841 INFO: Loading module hook 'hook-certifi.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
62841 INFO: Processing pre-safe import module hook six.moves from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\
hook-six.moves.py'.
66860 INFO: Loading module hook '
hook-multiprocessing.util.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
68337 INFO: Loading module hook 'hook-difflib.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
70922 INFO: Loading module hook 'hook-websockets.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
76093 INFO: Loading module hook '
hook-xml.dom.domreg.py' from 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks'...
76903 INFO: Processing module hooks...
77293 INFO: Looking for ctypes DLLs
77327 WARNING: Ignoring /System/Library/Frameworks/IOKit.framework/IOKit imported from C:\Program Files\Python310\lib\site-packages\serial\tools\list_ports_osx.py - only basenames are supported with ctypes imports!
77327 WARNING: Ignoring /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation imported from C:\Program Files\Python310\lib\site-packages\serial\tools\list_ports_osx.py - only basenames are supported with ctypes imports!
77358 INFO: Analyzing run-time hooks ...
77366 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
77373 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_subprocess.py'
77382 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
77395 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
77404 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\rthooks\\pyi_rth_pywintypes.py'
77412 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_win32comgenpy.py'
77420 INFO: Including run-time hook 'C:\\Program Files\\Python310\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\rthooks\\pyi_rth_pythoncom.py'
82522 INFO: Looking for dynamic libraries
4228 INFO: Extra DLL search directories (AddDllDirectory): []
4229 INFO: Extra DLL search directories (PATH): ['C:\\Program Files\\Python310\\Scripts\\', 'C:\\Program Files\\Python310\\', 'C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common', 'C:\\WINDOWS\\system32', 'C:\\WINDOWS', 'C:\\WINDOWS\\System32\\Wbem', 'C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\', 'C:\\Program Files (x86)\\Windows Kits\\8.1\\Windows Performance Toolkit\\', 'C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\', 'C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\', 'C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\', 'C:\\texlive\\2015\\bin\\win32', 'C:\\PASS\\bin', 'C:\\Users\\mohmes-pa\\.dnx\\bin', 'C:\\Program Files\\Microsoft DNX\\Dnvm\\', 'C:\\Program Files\\cURL\\bin', 'C:\\WINDOWS\\System32\\OpenSSH\\', 'C:\\Program Files (x86)\\IVI Foundation\\VISA\\WinNT\\Bin', 'C:\\Program Files\\nodejs\\', 'C:\\ProgramData\\chocolatey\\bin', 'C:\\Program Files\\PuTTY\\', 'C:\\Program Files\\Intel\\WiFi\\bin\\', 'C:\\Program Files\\MATLAB\\R2020b\\runtime\\win64', 'C:\\Program Files\\MATLAB\\R2020b\\bin', 'C:\\Program Files\\MATLAB\\R2018a\\runtime\\win64', 'C:\\Program Files\\MATLAB\\R2018a\\bin', 'C:\\Program Files\\MATLAB\\R2016b\\runtime\\win64', 'C:\\Program Files\\MATLAB\\R2016b\\bin', 'C:\\Program Files (x86)\\MATLAB\\MATLAB Compiler Runtime\\v713\\runtime\\win32', 'C:\\Program Files\\MATLAB\\MATLAB Compiler Runtime\\v716\\runtime\\win64', 'C:\\Program Files\\MATLAB\\MATLAB Runtime\\v91\\runtime\\win64', 'C:\\Program Files\\MATLAB\\MATLAB Runtime\\v94\\runtime\\win64', 'C:\\Users\\mohmes-pa\\.dotnet\\tools', 'C:\\Users\\mohmes-pa\\AppData\\Local\\Microsoft\\WindowsApps', 'C:\\Users\\mohmes-pa\\.dotnet\\tools', 'C:\\Users\\mohmes-pa\\AppData\\Local\\Microsoft\\WindowsApps', '"C:\\Program Files\\TortoiseGit\\bin', 'C:\\Users\\mohmes-pa\\.dnx\\bin"', 'C:\\Program Files\\dotnet\\', 'C:\\Program Files\\Common Files\\Pleora\\eBUS SDK', 'C:\\Program Files\\Git\\cmd', 'C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL', 'C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL', 'C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\', 'C:\\Program Files\\dotnet\\', 'C:\\Program Files\\SafeNet\\Authentication\\SAC\\x64', 'C:\\Program Files\\SafeNet\\Authentication\\SAC\\x32', 'C:\\Program Files\\JetBrains\\PyCharm 2018.3.3\\bin', 'C:\\Program Files\\JetBrains\\WebStorm 2018.3.3\\bin']
It hangs at this point and never progresses - have waited days. I have also tried running pyinstaller both as a regular user and as an admin, and on 3 different computers, both company and personal.