pythonwindowsmatplotlibpyinstallerqt6

pyinstaller not adding matplotlib error, not linking qt6 deps warning


I have a Python application. And I want to distribute as .exe file. It's quite small application. Here are all my deps:

PyQt6==6.9.1
PyQt6-Qt6==6.9.1
PyQt6_sip==13.10.2
qt-material==2.17
pyinstaller==6.14.2

Here is my .spec file for py-installer:

# -*- mode: python ; coding: utf-8 -*-


a = Analysis(
    ['DSS.py'],
    pathex=[],
    binaries=[],
    datas=[],
    hiddenimports=['matplotlib', 'matplotlib.backends.backend_tkagg', 'matplotlib.backends.backend_pdf'],
    hookspath=[],
    hooksconfig={},
    runtime_hooks=[],
    excludes=['PyQt5'],
    noarchive=False,
    optimize=0,
)
pyz = PYZ(a.pure)

exe = EXE(
    pyz,
    a.scripts,
    a.binaries,
    a.datas,
    [],
    name='DNA_Sequence_Similarities',
    debug=False,
    bootloader_ignore_signals=False,
    strip=False,
    upx=True,
    upx_exclude=[],
    runtime_tmpdir=None,
    console=False,
    disable_windowed_traceback=False,
    argv_emulation=False,
    target_arch=None,
    codesign_identity=None,
    entitlements_file=None,
    icon=['icon.ico'],
)

# Collect all necessary files for matplotlib and qt_material
coll = COLLECT(
    exe,
    a.binaries,
    a.zipfiles,
    a.datas,
    strip=False,
    upx=True,
    upx_exclude=[],
    name='DNA_Sequence_Similarities',
)

And here is the command how I am building it: pyinstaller DSS.py --name DNA_Sequence_Similarities --onefile --windowed --icon=icon.ico --hidden-import=matplotlib --hidden-import=matplotlib.backends.backend_tkagg --hidden-import=matplotlib.backends.backend_pdf --collect-all matplotlib --collect-all qt_material --collect-all PyQt6

But when I run it I get matplotlib is not there. And it's quite expected that those PC will never have these deps, we need to put everything together and link them properly.

Here is a snap:

pyinstaller throwing error saying matplotlib not found

Here is complete build log:

Run pyinstaller DSS.py --name DNA_Sequence_Similarities --onefile --windowed --icon=icon.ico --hidden-import=matplotlib --hidden-import=matplotlib.backends.backend_tkagg --hidden-import=matplotlib.backends.backend_pdf --collect-all matplotlib --collect-all qt_material --collect-all PyQt6
485 INFO: PyInstaller: 6.14.2, contrib hooks: 2025.8
485 INFO: Python: 3.10.11
485 INFO: Platform: Windows-10-10.0.20348-SP0
485 INFO: Python environment: C:\hostedtoolcache\windows\Python\3.10.11\x64
500 INFO: wrote D:\a\DSS\DSS\DNA_Sequence_Similarities.spec
501 WARNING: collect_data_files - skipping data collection for module 'matplotlib' as it is not a package.
501 WARNING: collect_dynamic_libs - skipping library collection for module 'matplotlib' as it is not a package.
156 WARNING: qt_material must be imported after PySide or PyQt!
2236 INFO: Module search paths (PYTHONPATH):
['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\Scripts\\pyinstaller.exe',
 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\python310.zip',
 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\DLLs',
 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib',
 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64',
 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages',
 'D:\\a\\DSS\\DSS']
140 WARNING: qt_material must be imported after PySide or PyQt!
2518 INFO: Appending 'binaries' from .spec
2534 INFO: Appending 'datas' from .spec
2815 INFO: checking Analysis
2815 INFO: Building Analysis because Analysis-00.toc is non existent
2815 INFO: Running Analysis Analysis-00.toc
2815 INFO: Target bytecode optimization level: 0
2815 INFO: Initializing module dependency graph...
2815 INFO: Initializing module graph hook caches...
2831 INFO: Analyzing modules for base_library.zip ...
3550 INFO: Processing standard module hook 'hook-heapq.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
3644 INFO: Processing standard module hook 'hook-encodings.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
5634 INFO: Processing standard module hook 'hook-pickle.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
6884 INFO: Caching module dependency graph...
6916 INFO: Looking for Python shared library...
6947 INFO: Using Python shared library: C:\hostedtoolcache\windows\Python\3.10.11\x64\python310.dll
6947 INFO: Analyzing D:\a\DSS\DSS\DSS.py
6947 INFO: Processing standard module hook 'hook-PyQt6.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
7525 INFO: Processing standard module hook 'hook-PyQt6.QtWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
8136 INFO: Processing standard module hook 'hook-PyQt6.QtCore.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
8700 INFO: Processing standard module hook 'hook-PyQt6.QtGui.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9154 INFO: Processing standard module hook 'hook-qt_material.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\qt_material'
9154 WARNING: qt_material must be imported after PySide or PyQt!
9201 INFO: Processing standard module hook 'hook-platform.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9201 INFO: Processing standard module hook 'hook-xml.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9201 INFO: Processing standard module hook 'hook-xml.dom.domreg.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9624 INFO: Processing standard module hook 'hook-PyQt6.uic.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9811 INFO: Processing standard module hook 'hook-xml.etree.cElementTree.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
9921 INFO: Processing standard module hook 'hook-multiprocessing.util.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
10234 INFO: Processing standard module hook 'hook-jinja2.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\_pyinstaller_hooks_contrib\\stdhooks'
10234 INFO: Processing pre-safe-import-module hook 'hook-typing_extensions.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_safe_import_module'
10234 INFO: SetuptoolsInfo: initializing cached setuptools info...
11860 INFO: Analyzing hidden import 'matplotlib.backends.backend_tkagg'
11860 ERROR: Hidden import 'matplotlib.backends.backend_tkagg' not found
11860 INFO: Analyzing hidden import 'matplotlib.backends.backend_pdf'
11860 ERROR: Hidden import 'matplotlib.backends.backend_pdf' not found
11860 INFO: Analyzing hidden import 'qt_material.hook-qt_material'
11860 INFO: Analyzing hidden import 'qt_material.resources.logo'
11860 INFO: Analyzing hidden import 'qt_material.resources.source'
11860 INFO: Analyzing hidden import 'PyQt6.QAxContainer'
11860 INFO: Processing standard module hook 'hook-PyQt6.QAxContainer.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
11923 INFO: Analyzing hidden import 'PyQt6.QtBluetooth'
11969 INFO: Processing standard module hook 'hook-PyQt6.QtBluetooth.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
12025 INFO: Analyzing hidden import 'PyQt6.QtDBus'
12032 INFO: Processing standard module hook 'hook-PyQt6.QtDBus.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
12095 INFO: Analyzing hidden import 'PyQt6.QtDesigner'
12126 INFO: Processing standard module hook 'hook-PyQt6.QtDesigner.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
12204 WARNING: QtLibraryInfo(PyQt6): could not find translations with base name 'designer'! These translations will not be collected.
12204 INFO: Analyzing hidden import 'PyQt6.QtHelp'
12220 INFO: Processing standard module hook 'hook-PyQt6.QtHelp.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
12282 INFO: Analyzing hidden import 'PyQt6.QtMultimedia'
12360 INFO: Processing standard module hook 'hook-PyQt6.QtMultimedia.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
12658 INFO: Processing standard module hook 'hook-PyQt6.QtNetwork.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13111 INFO: Analyzing hidden import 'PyQt6.QtMultimediaWidgets'
13127 INFO: Processing standard module hook 'hook-PyQt6.QtMultimediaWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13189 INFO: Analyzing hidden import 'PyQt6.QtNfc'
13189 INFO: Processing standard module hook 'hook-PyQt6.QtNfc.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13252 INFO: Analyzing hidden import 'PyQt6.QtOpenGL'
13439 INFO: Processing standard module hook 'hook-PyQt6.QtOpenGL.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13564 INFO: Analyzing hidden import 'PyQt6.QtOpenGLWidgets'
13564 INFO: Processing standard module hook 'hook-PyQt6.QtOpenGLWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13627 INFO: Analyzing hidden import 'PyQt6.QtPdf'
13627 INFO: Processing standard module hook 'hook-PyQt6.QtPdf.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13705 INFO: Analyzing hidden import 'PyQt6.QtPdfWidgets'
13721 INFO: Processing standard module hook 'hook-PyQt6.QtPdfWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13768 INFO: Analyzing hidden import 'PyQt6.QtPositioning'
13815 INFO: Processing standard module hook 'hook-PyQt6.QtPositioning.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
13909 INFO: Analyzing hidden import 'PyQt6.QtPrintSupport'
13925 INFO: Processing standard module hook 'hook-PyQt6.QtPrintSupport.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
14003 INFO: Analyzing hidden import 'PyQt6.QtQml'
14034 INFO: Processing standard module hook 'hook-PyQt6.QtQml.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
14800 INFO: Analyzing hidden import 'PyQt6.QtQuick'
14863 INFO: Processing standard module hook 'hook-PyQt6.QtQuick.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
14972 INFO: Analyzing hidden import 'PyQt6.QtQuick3D'
14988 INFO: Processing standard module hook 'hook-PyQt6.QtQuick3D.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15050 INFO: Analyzing hidden import 'PyQt6.QtQuickWidgets'
15066 INFO: Processing standard module hook 'hook-PyQt6.QtQuickWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15128 INFO: Analyzing hidden import 'PyQt6.QtRemoteObjects'
15128 INFO: Processing standard module hook 'hook-PyQt6.QtRemoteObjects.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15191 INFO: Analyzing hidden import 'PyQt6.QtSensors'
15207 INFO: Processing standard module hook 'hook-PyQt6.QtSensors.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15300 INFO: Analyzing hidden import 'PyQt6.QtSerialPort'
15300 INFO: Processing standard module hook 'hook-PyQt6.QtSerialPort.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15363 INFO: Analyzing hidden import 'PyQt6.QtSpatialAudio'
15378 INFO: Processing standard module hook 'hook-PyQt6.QtSpatialAudio.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15441 INFO: Analyzing hidden import 'PyQt6.QtSql'
15472 INFO: Processing standard module hook 'hook-PyQt6.QtSql.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15613 INFO: Analyzing hidden import 'PyQt6.QtStateMachine'
15628 INFO: Processing standard module hook 'hook-PyQt6.QtStateMachine.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15675 INFO: Analyzing hidden import 'PyQt6.QtSvg'
15691 INFO: Processing standard module hook 'hook-PyQt6.QtSvg.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15753 INFO: Analyzing hidden import 'PyQt6.QtSvgWidgets'
15753 INFO: Processing standard module hook 'hook-PyQt6.QtSvgWidgets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15816 INFO: Analyzing hidden import 'PyQt6.QtTest'
15832 INFO: Processing standard module hook 'hook-PyQt6.QtTest.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
15894 INFO: Analyzing hidden import 'PyQt6.QtTextToSpeech'
15894 INFO: Processing standard module hook 'hook-PyQt6.QtTextToSpeech.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
16003 INFO: Analyzing hidden import 'PyQt6.QtWebChannel'
16003 INFO: Processing standard module hook 'hook-PyQt6.QtWebChannel.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
16066 INFO: Analyzing hidden import 'PyQt6.QtWebSockets'
16066 INFO: Processing standard module hook 'hook-PyQt6.QtWebSockets.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
16129 INFO: Analyzing hidden import 'PyQt6.QtXml'
16144 INFO: Processing standard module hook 'hook-PyQt6.QtXml.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
16207 INFO: Analyzing hidden import 'PyQt6.lupdate'
16223 INFO: Analyzing hidden import 'PyQt6.lupdate.pylupdate'
16238 INFO: Analyzing hidden import 'PyQt6.uic.pyuic'
16238 INFO: Processing module hooks (post-graph stage)...
16316 INFO: Performing binary vs. data reclassification (3470 entries)
16660 INFO: Looking for ctypes DLLs
16676 INFO: Analyzing run-time hooks ...
16676 INFO: Including run-time hook 'pyi_rth_inspect.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks'
16676 INFO: Including run-time hook 'pyi_rth_pkgutil.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks'
16676 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks'
16676 INFO: Including run-time hook 'pyi_rth_pyqt6.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\rthooks'
16676 INFO: Processing pre-find-module-path hook 'hook-_pyi_rth_utils.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks\\pre_find_module_path'
16676 INFO: Processing standard module hook 'hook-_pyi_rth_utils.py' from 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyInstaller\\hooks'
16832 INFO: Creating base_library.zip...
16895 INFO: Looking for dynamic libraries
17098 INFO: Extra DLL search directories (AddDllDirectory): ['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\bin']
17098 INFO: Extra DLL search directories (PATH): ['C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\bin']
21257 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\geometryloaders\\defaultgeometryloader.dll'.
21257 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\geometryloaders\\defaultgeometryloader.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\geometryloaders\\gltfgeometryloader.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\geometryloaders\\gltfgeometryloader.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QmlCompiler.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\qmllint\\quicklintplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QmlCompiler.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\qmlls\\qmllsquickplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\renderers\\openglrenderer.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\renderers\\openglrenderer.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\renderers\\rhirenderer.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\renderers\\rhirenderer.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\assimpsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\assimpsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DExtras.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\assimpsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DAnimation.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\assimpsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneexport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneexport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DExtras.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneexport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DRender.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DExtras.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt63DCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sceneparsers\\gltfsceneimport.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6Scxml.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\scxmldatamodel\\qscxmlecmascriptdatamodel.dll'.
21273 WARNING: Library not found: could not resolve 'fbclient.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sqldrivers\\qsqlibase.dll'.
21273 WARNING: Library not found: could not resolve 'MIMAPI64.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sqldrivers\\qsqlmimer.dll'.
21273 WARNING: Library not found: could not resolve 'OCI.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\sqldrivers\\qsqloci.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6WebViewQuick.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\webview\\qtwebview_webengine.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6WebEngineCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\webview\\qtwebview_webengine.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6WebView.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\webview\\qtwebview_webengine.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6WebEngineQuick.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\plugins\\webview\\qtwebview_webengine.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QmlCore.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtCore\\qtqmlcoreplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QmlNetwork.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtNetwork\\qmlnetworkplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QmlXmlListModel.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQml\\XmlListModel\\qmlxmllistmodelplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6Quick3DParticleEffects.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick3D\\ParticleEffects\\qtquick3dparticleeffectsplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QuickControls2FluentWinUI3StyleImpl.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\Controls\\FluentWinUI3\\impl\\qtquickcontrols2fluentwinui3styleimplplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QuickControls2FluentWinUI3StyleImpl.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\Controls\\FluentWinUI3\\qtquickcontrols2fluentwinui3styleplugin.dll'.
21273 WARNING: Library not found: could not resolve 'Qt6QuickControls2WindowsStyleImpl.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\Controls\\Windows\\impl\\qtquickcontrols2windowsstyleimplplugin.dll'.
21289 WARNING: Library not found: could not resolve 'Qt6QmlLocalStorage.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\LocalStorage\\qmllocalstorageplugin.dll'.
21289 WARNING: Library not found: could not resolve 'Qt63DQuickScene2D.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\Scene2D\\qtquickscene2dplugin.dll'.
21289 WARNING: Library not found: could not resolve 'Qt63DQuickScene3D.dll', dependency of 'C:\\hostedtoolcache\\windows\\Python\\3.10.11\\x64\\lib\\site-packages\\PyQt6\\Qt6\\qml\\QtQuick\\Scene3D\\qtquickscene3dplugin.dll'.
21414 INFO: Warnings written to D:\a\DSS\DSS\build\DNA_Sequence_Similarities\warn-DNA_Sequence_Similarities.txt
21461 INFO: Graph cross-reference written to D:\a\DSS\DSS\build\DNA_Sequence_Similarities\xref-DNA_Sequence_Similarities.html
21664 INFO: checking PYZ
21664 INFO: Building PYZ because PYZ-00.toc is non existent
21664 INFO: Building PYZ (ZlibArchive) D:\a\DSS\DSS\build\DNA_Sequence_Similarities\PYZ-00.pyz
22086 INFO: Building PYZ (ZlibArchive) D:\a\DSS\DSS\build\DNA_Sequence_Similarities\PYZ-00.pyz completed successfully.
22180 INFO: checking PKG
22180 INFO: Building PKG because PKG-00.toc is non existent
22180 INFO: Building PKG (CArchive) DNA_Sequence_Similarities.pkg
48516 INFO: Building PKG (CArchive) DNA_Sequence_Similarities.pkg completed successfully.
48610 INFO: Bootloader C:\hostedtoolcache\windows\Python\3.10.11\x64\lib\site-packages\PyInstaller\bootloader\Windows-64bit-intel\runw.exe
48610 INFO: checking EXE
48610 INFO: Building EXE because EXE-00.toc is non existent
48610 INFO: Building EXE from EXE-00.toc
48610 INFO: Copying bootloader EXE to D:\a\DSS\DSS\dist\DNA_Sequence_Similarities.exe
48610 INFO: Copying icon to EXE
48610 INFO: Copying 0 resources to EXE
48610 INFO: Embedding manifest in EXE
48610 INFO: Appending PKG archive to EXE
48672 INFO: Fixing EXE headers
49251 INFO: Building EXE from EXE-00.toc completed successfully.
49345 INFO: Build complete! The results are available in: D:\a\DSS\DSS\dist

How can I fix this? Thanks in advance.


Solution

  • The error shows "No module named matplotlib" in the installer.

    Please install the matplotlib, you can install it via

    pip install matplotlib
    

    your final dependency will look like this:

    PyQt6==6.9.1
    PyQt6-Qt6==6.9.1
    PyQt6_sip==13.10.2
    qt-material==2.17
    pyinstaller==6.14.2
    matplotlib