PyInstaller is hanging on Windows once it reaches "Looking for dynamic 
libraries". I've let it run for hours and it never completes or exits. This 
only seems to happen on Windows, it works fine on Ubuntu and macOS. I am 
using the "windows-latest" GitHub Action runner, if that makes any 
difference.

Here is the full output:

406 INFO: PyInstaller: 5.3 
406 INFO: Python: 3.10.4 
406 INFO: Platform: Windows-10-10.0.20348-SP0 
421 INFO: UPX is not available. 
421 INFO: Extending PYTHONPATH with paths 
['D:\\a\\<package>\\<package>'] 
1094 INFO: checking Analysis 
1094 INFO: Building Analysis because Analysis-00.toc is non existent 
1094 INFO: Initializing module dependency graph... 
1094 INFO: Caching module graph hooks... 
1094 WARNING: Several hooks defined for module 'numpy'. Please take care 
they do not conflict. 
1110 INFO: Analyzing base_library.zip ... 
7219 INFO: Processing pre-find module path hook distutils from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-distutils.py'.
 

7219 INFO: distutils: retargeting to non-venv dir 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib' 
8707 INFO: Caching module dependency graph... 
8925 INFO: running Analysis Analysis-00.toc 
8957 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies 
of final executable 
required by C:\hostedtoolcache\windows\Python\3.10.4\x64\python.exe 
9519 INFO: Analyzing D:\a\<package>\<package>\bundle.py 
12648 INFO: Processing pre-find module path hook site from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path\\hook-site.py'.
 

12648 INFO: site: retargeting to fake-dir 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\fake-modules'
 

27381 INFO: Processing pre-safe import module hook 
urllib3.packages.six.moves from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-urllib3.packages.six.moves.py'.
 

30306 INFO: Processing pre-safe import module hook six.moves from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-six.moves.py'.
 

68977 INFO: Processing module hooks... 
68977 INFO: Loading module hook 'hook-anyio.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

69837 INFO: Loading module hook 'hook-bcrypt.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

69837 INFO: Loading module hook 'hook-certifi.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

69852 INFO: Loading module hook 'hook-cryptography.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

70965 INFO: Loading module hook 'hook-docx.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

71028 INFO: Loading module hook 'hook-faker.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

74861 WARNING: collect_data_files - skipping data collection for module 
'text_unidecode' as it is not a package. 
105565 INFO: Loading module hook 'hook-jinja2.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

105565 INFO: Loading module hook 'hook-jinxed.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

105565 INFO: Loading module hook 'hook-jira.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

106363 INFO: Loading module hook 'hook-lxml.etree.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

106363 INFO: Loading module hook 'hook-lxml.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

108036 INFO: Loading module hook 'hook-magic.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

108036 INFO: Loading module hook 'hook-nacl.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

108068 INFO: Loading module hook 'hook-openpyxl.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

108194 INFO: Loading module hook 'hook-plotly.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

190409 INFO: Loading module hook 'hook-pycparser.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

190409 INFO: Loading module hook 'hook-pydantic.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

191221 INFO: Loading module hook 'hook-numpy.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\Lib\\site-packages\\numpy\\_pyinstaller'...
 

191393 INFO: Import to be excluded not found: 'f2py' 
191440 INFO: Loading module hook 'hook-difflib.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

191456 INFO: Loading module hook 'hook-distutils.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

191456 INFO: Loading module hook 'hook-distutils.util.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

191487 INFO: Loading module hook 'hook-encodings.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192003 INFO: Loading module hook 'hook-heapq.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192034 INFO: Loading module hook 'hook-keyring.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192786 INFO: Processing pre-safe import module hook gi from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module\\hook-gi.py'.
 

192786 INFO: Loading module hook 'hook-lib2to3.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192818 INFO: Loading module hook 'hook-multiprocessing.util.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192849 INFO: Loading module hook 'hook-numpy._pytesttester.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192880 INFO: Loading module hook 'hook-packaging.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

192880 INFO: Loading module hook 'hook-pandas.io.formats.style.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

194178 INFO: Loading module hook 'hook-pandas.plotting.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

194273 INFO: Loading module hook 'hook-pandas.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

196023 INFO: Loading module hook 'hook-pickle.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

196070 INFO: Loading module hook 'hook-pkg_resources.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

197587 INFO: Processing pre-safe import module hook win32com from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\pre_safe_import_module\\hook-win32com.py'.
 

198745 INFO: Loading module hook 'hook-platform.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

198776 INFO: Loading module hook 'hook-pygments.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

202953 INFO: Loading module hook 'hook-pytz.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

203203 INFO: Loading module hook 'hook-setuptools.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

313 WARNING: Failed to collect submodules for 
'setuptools._vendor.pyparsing.diagram' because importing 
'setuptools._vendor.pyparsing.diagram' raised: ModuleNotFoundError: No 
module named 'railroad' 
205596 INFO: Loading module hook 'hook-sqlite3.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206111 INFO: Loading module hook 'hook-sysconfig.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206159 INFO: Loading module hook 'hook-wcwidth.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206159 INFO: Loading module hook 'hook-win32ctypes.core.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206863 INFO: Loading module hook 'hook-xml.dom.domreg.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206863 INFO: Loading module hook 'hook-xml.etree.cElementTree.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206863 INFO: Loading module hook 'hook-xml.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

206863 INFO: Loading module hook 'hook-_tkinter.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

207050 INFO: checking Tree 
207050 INFO: Building Tree because Tree-00.toc is non existent 
207050 INFO: Building Tree Tree-00.toc 
207129 INFO: checking Tree 
207129 INFO: Building Tree because Tree-01.toc is non existent 
207129 INFO: Building Tree Tree-01.toc 
207207 INFO: checking Tree 
207207 INFO: Building Tree because Tree-02.toc is non existent 
207207 INFO: Building Tree Tree-02.toc 
207222 INFO: Loading module hook 'hook-lxml.isoschematron.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

207222 INFO: Loading module hook 'hook-lxml.objectify.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\hooks\\stdhooks'...
 

207222 INFO: Loading module hook 'hook-setuptools.msvc.py' from 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks'...
 

208302 INFO: Looking for ctypes DLLs 
208427 INFO: Analyzing run-time hooks ... 
208521 INFO: Including run-time hook 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_subprocess.py'
 

208521 INFO: Including run-time hook 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_inspect.py'
 

208521 INFO: Including run-time hook 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgres.py'
 

208521 INFO: Including run-time hook 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_pkgutil.py'
 

208537 INFO: Including run-time hook 
'C:\\hostedtoolcache\\windows\\Python\\3.10.4\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks\\pyi_rth_multiprocessing.py'
 

208818 INFO: Looking for dynamic libraries 
906 INFO: aioredis not installed, RedisCache unavailable 
906 INFO: aiomcache not installed, Memcached unavailable 
C:\hostedtoolcache\windows\Python\3.10.4\x64\lib\site-packages\PyInstaller\building\build_main.py:157:
 
UserWarning: The numpy.array_api submodule is still experimental. See NEP 
47. 
__import__(package)

Any help would be greatly appreciated, thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyinstaller/72e0d210-d9df-4611-9954-42b9d63112c8n%40googlegroups.com.

Reply via email to