<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Debugging MWE of pyside6-deploy with WebEngine]]></title><description><![CDATA[<p dir="auto">I'm trying to use pyside6-deploy with a Hello World! MWE using WebEngine. I'm using Qt's very own pyside6-deploy as opposed to other tools since getting WebEngine to work is a bother and if anyone can figure out how to use Qt's pyside6-deploy on a simple Qt PySide6 app using Qt's WebEngine, it's the Qt Company.</p>
<p dir="auto">I'm using Python 3.13.12 and PySide6.8.3 on Windows 11, which should be fine based on this <a href="https://wiki.qt.io/Qt_for_Python#Python_compatibility_matrix" target="_blank" rel="noopener noreferrer nofollow ugc">Qt provided Python compatibility matrix</a>.</p>
<p dir="auto">I have no idea what I'm supposed to do to get this working. I thought it would work out of the box, but WebEngine seems to complicate matters based on other people on the internet trying to get this to work. What should I do?</p>
<p dir="auto">Below is the contents of <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> located in "C:\Users\mldic\Documents\GitHub\<a href="http://BEMinstructionals.github.io" target="_blank" rel="noopener noreferrer nofollow ugc">BEMinstructionals.github.io</a>\dev\testing_deploy\<a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a>"</p>
<pre><code>import sys

from PySide6.QtWidgets import QApplication, QMainWindow
from PySide6.QtWebEngineWidgets import QWebEngineView

class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        
        self.web_engine_view = QWebEngineView()
        self.web_engine_view.setHtml("&lt;!DOCTYPE html&gt;&lt;html&gt;&lt;body&gt;&lt;h1&gt;Hello from Pyside6 WebEngineView!&lt;/h1&gt;&lt;/body&gt;&lt;/html&gt;")
        
        self.setCentralWidget(self.web_engine_view)

if __name__ == "__main__":
    app = QApplication(sys.argv)
    main_window = MainWindow()
    main_window.showMaximized()
    main_window.show()
    app.exec()
</code></pre>
<p dir="auto">I opened a Windows 11 cmd.exe window in the testing_deploy directory, created a virtual environment with python3.13.12, then simply typed pyside6-deploy and enter since it will use the <a href="http://main.py" target="_blank" rel="noopener noreferrer nofollow ugc">main.py</a> file automatically.</p>
<pre><code>Microsoft Windows [Version 10.0.26200.7840]
(c) Microsoft Corporation. All rights reserved.

C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;python --version
Python 3.13.12

C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;python -m venv env

C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;env\Scripts\activate.bat

(env) C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;pip install pyside6==6.8.*
Collecting pyside6==6.8.*
  Downloading PySide6-6.8.3-cp39-abi3-win_amd64.whl.metadata (5.7 kB)
Collecting shiboken6==6.8.3 (from pyside6==6.8.*)
  Downloading shiboken6-6.8.3-cp39-abi3-win_amd64.whl.metadata (2.8 kB)
Collecting PySide6-Essentials==6.8.3 (from pyside6==6.8.*)
  Downloading PySide6_Essentials-6.8.3-cp39-abi3-win_amd64.whl.metadata (4.1 kB)
Collecting PySide6-Addons==6.8.3 (from pyside6==6.8.*)
  Downloading PySide6_Addons-6.8.3-cp39-abi3-win_amd64.whl.metadata (4.4 kB)
Downloading PySide6-6.8.3-cp39-abi3-win_amd64.whl (561 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 561.1/561.1 kB 5.5 MB/s  0:00:00
Downloading PySide6_Addons-6.8.3-cp39-abi3-win_amd64.whl (127.9 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 127.9/127.9 MB 7.2 MB/s  0:00:17
Downloading PySide6_Essentials-6.8.3-cp39-abi3-win_amd64.whl (72.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 72.2/72.2 MB 7.1 MB/s  0:00:10
Downloading shiboken6-6.8.3-cp39-abi3-win_amd64.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 5.9 MB/s  0:00:00
Installing collected packages: shiboken6, PySide6-Essentials, PySide6-Addons, pyside6
Successfully installed PySide6-Addons-6.8.3 PySide6-Essentials-6.8.3 pyside6-6.8.3 shiboken6-6.8.3

[notice] A new release of pip is available: 25.3 -&gt; 26.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip

(env) C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;python main.py

(env) C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;pyside6-deploy
C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\config.py:495: RuntimeWarning: [DEPLOY] Unable to find dumpbin. This tool helps to find the Qt module dependencies of the application. Skipping checking for dependencies.
  warnings.warn(f"[DEPLOY] Unable to find {self.dependency_reader.lib_reader_name}. This "
Collecting Nuitka==2.5.1
  Using cached Nuitka-2.5.1-cp313-cp313-win_amd64.whl
Collecting ordered-set&gt;=4.1.0 (from Nuitka==2.5.1)
  Using cached ordered_set-4.1.0-py3-none-any.whl.metadata (5.3 kB)
Collecting zstandard&gt;=0.15 (from Nuitka==2.5.1)
  Downloading zstandard-0.25.0-cp313-cp313-win_amd64.whl.metadata (3.3 kB)
Using cached ordered_set-4.1.0-py3-none-any.whl (7.6 kB)
Downloading zstandard-0.25.0-cp313-cp313-win_amd64.whl (506 kB)
Installing collected packages: zstandard, ordered-set, Nuitka
Successfully installed Nuitka-2.5.1 ordered-set-4.1.0 zstandard-0.25.0

[notice] A new release of pip is available: 25.3 -&gt; 26.0.1
[notice] To update, run: python.exe -m pip install --upgrade pip
Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\__main__.py", line 206, in &lt;module&gt;
    main()
    ~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\__main__.py", line 188, in main
    MainControl.main()
    ~~~~~~~~~~~~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 1160, in main
    _main()
    ~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 999, in _main
    main_module = _createMainModule()
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 146, in _createMainModule
    main_module = buildMainModuleTree(
        source_code=None,
    )
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\tree\Building.py", line 1186, in buildMainModuleTree
    module.setStandardLibraryModules(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        early_module_names=detectEarlyImports(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stdlib_modules_names=detectStdlibAutoInclusionModules(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\nodes\ModuleNodes.py", line 961, in setStandardLibraryModules
    assert finding != "not-found", early_module_name
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: collections.abc
[DEPLOY] Exception occurred: Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\commands.py", line 27, in run_command
    subprocess.check_call(command, shell=is_windows)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mldic\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[WindowsPath('C:/Users/mldic/Documents/GitHub/BEMinstructionals.github.io/dev/testing_deploy/env/Scripts/python.exe'), '-m', 'nuitka', 'C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\deployment', '--quiet', '--noinclude-qt-translations', '--onefile', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--windows-icon-from-ico=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\env\\Lib\\site-packages\\PySide6\\scripts\\deploy_lib\\pyside_icon.ico']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy.py", line 152, in main
    command_str = nuitka.create_executable(source_file=config.source_file,
                                           extra_args=config.extra_args,
    ...&lt;5 lines&gt;...
                                           permissions=config.permissions,
                                           mode=config.mode)
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\nuitka_helper.py", line 178, in create_executable
    command_str, _ = run_command(command=command, dry_run=dry_run)
                     ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\commands.py", line 33, in run_command
    raise RuntimeError(
    ...&lt;2 lines&gt;...
    )
RuntimeError: [DEPLOY] Command C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Scripts\python.exe -m nuitka C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py --follow-imports --enable-plugin=pyside6 --output-dir=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment --quiet --noinclude-qt-translations --onefile --noinclude-dlls=*.cpp.o --noinclude-dlls=*.qsb --windows-icon-from-ico=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico failed with error Command '[WindowsPath('C:/Users/mldic/Documents/GitHub/BEMinstructionals.github.io/dev/testing_deploy/env/Scripts/python.exe'), '-m', 'nuitka', 'C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\deployment', '--quiet', '--noinclude-qt-translations', '--onefile', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--windows-icon-from-ico=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\env\\Lib\\site-packages\\PySide6\\scripts\\deploy_lib\\pyside_icon.ico']' returned non-zero exit status 1. and return_code1

ERROR:root:[DEPLOY] Executable not found at C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment\main.exe

(env) C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;deactivate
C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;
</code></pre>
<p dir="auto">A pysidedeploy.spec file was created with the below contents.</p>
<pre><code>[app]

# title of your application
title = pyside_app_demo

# project directory. the general assumption is that project_dir is the parent directory
# of input_file
project_dir = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy

# source file path
input_file = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py

# directory where the executable output is generated
exec_directory = .

# path to .pyproject project file
project_file = 

# application icon
icon = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico

[python]

# python path
python_path = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Scripts\python.exe

# python packages to install
packages = Nuitka==2.5.1

# buildozer = for deploying Android application
android_packages = buildozer==1.5.0,cython==0.29.33

[qt]

# comma separated path to qml files required
# normally all the qml files required by the project are added automatically
qml_files = 

# excluded qml plugin binaries
excluded_qml_plugins = 

# qt modules used. comma separated
modules = WebEngineWidgets,Widgets

# qt plugins used by the application. only relevant for desktop deployment. for qt plugins used
# in android application see [android][plugins]
plugins = styles

[android]

# path to pyside wheel
wheel_pyside = 

# path to shiboken wheel
wheel_shiboken = 

# plugins to be copied to libs folder of the packaged application. comma separated
plugins = 

[nuitka]

# usage description for permissions requested by the app as found in the info.plist file
# of the app bundle
# eg = extra_args = --show-modules --follow-stdlib
macos.permissions = 

# mode of using nuitka. accepts standalone or onefile. default is onefile.
mode = onefile

# (str) specify any extra nuitka arguments
extra_args = --quiet --noinclude-qt-translations

[buildozer]

# build mode
# possible options = [release, debug]
# release creates an aab, while debug creates an apk
mode = debug

# contrains path to pyside6 and shiboken6 recipe dir
recipe_dir = 

# path to extra qt android jars to be loaded by the application
jars_dir = 

# if empty uses default ndk path downloaded by buildozer
ndk_path = 

# if empty uses default sdk path downloaded by buildozer
sdk_path = 

# other libraries to be loaded. comma separated.
# loaded at app startup
local_libs = 

# architecture of deployed platform
# possible values = ["aarch64", "armv7a", "i686", "x86_64"]
arch = 
</code></pre>
<p dir="auto">There was also a nuitka-crash-report.xml file created with the below contents.</p>
<pre><code>&lt;?xml version='1.0' encoding='utf8'?&gt;
&lt;nuitka-compilation-report nuitka_version="2.5.1" nuitka_commercial_version="not installed" completion="exception"&gt;
  &lt;exception exception_type="AssertionError" exception_value="collections.abc"&gt;
Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 1160, in main
    _main()
    ~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 999, in _main
    main_module = _createMainModule()
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 146, in _createMainModule
    main_module = buildMainModuleTree(
        source_code=None,
    )
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\tree\Building.py", line 1186, in buildMainModuleTree
    module.setStandardLibraryModules(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        early_module_names=detectEarlyImports(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stdlib_modules_names=detectStdlibAutoInclusionModules(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\nodes\ModuleNodes.py", line 961, in setStandardLibraryModules
    assert finding != "not-found", early_module_name
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: collections.abc
&lt;/exception&gt;
  &lt;performance&gt;
    &lt;memory_usage name="after_launch" value="40271872" /&gt;
  &lt;/performance&gt;
  &lt;data_composer blob_size="None" /&gt;
  &lt;command_line&gt;
    &lt;option value="C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py" /&gt;
    &lt;option value="--follow-imports" /&gt;
    &lt;option value="--enable-plugin=pyside6" /&gt;
    &lt;option value="--output-dir=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment" /&gt;
    &lt;option value="--quiet" /&gt;
    &lt;option value="--noinclude-qt-translations" /&gt;
    &lt;option value="--onefile" /&gt;
    &lt;option value="--noinclude-dlls=*.cpp.o" /&gt;
    &lt;option value="--noinclude-dlls=*.qsb" /&gt;
    &lt;option value="--windows-icon-from-ico=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico" /&gt;
  &lt;/command_line&gt;
  &lt;plugins&gt;
    &lt;plugin name="anti-bloat" user_enabled="no" /&gt;
    &lt;plugin name="data-files" user_enabled="no" /&gt;
    &lt;plugin name="delvewheel" user_enabled="no" /&gt;
    &lt;plugin name="dll-files" user_enabled="no" /&gt;
    &lt;plugin name="eventlet" user_enabled="no" /&gt;
    &lt;plugin name="gevent" user_enabled="no" /&gt;
    &lt;plugin name="gi" user_enabled="no" /&gt;
    &lt;plugin name="glfw" user_enabled="no" /&gt;
    &lt;plugin name="implicit-imports" user_enabled="no" /&gt;
    &lt;plugin name="kivy" user_enabled="no" /&gt;
    &lt;plugin name="matplotlib" user_enabled="no" /&gt;
    &lt;plugin name="multiprocessing" user_enabled="no" /&gt;
    &lt;plugin name="options-nanny" user_enabled="no" /&gt;
    &lt;plugin name="pbr-compat" user_enabled="no" /&gt;
    &lt;plugin name="pkg-resources" user_enabled="no" /&gt;
    &lt;plugin name="playwright" user_enabled="no" /&gt;
    &lt;plugin name="pyside6" user_enabled="yes" /&gt;
    &lt;plugin name="pywebview" user_enabled="no" /&gt;
    &lt;plugin name="spacy" user_enabled="no" /&gt;
    &lt;plugin name="transformers" user_enabled="no" /&gt;
  &lt;/plugins&gt;
  &lt;distributions /&gt;
  &lt;python python_exe="${sys.prefix}\Scripts\python.exe" python_flavor="CPython Official" python_version="3.13.12" os_name="Windows" os_release="11" arch_name="x86_64" filesystem_encoding="utf-8"&gt;
    &lt;search_path&gt;
      &lt;path value="${cwd}" /&gt;
      &lt;path value="${sys.real_prefix}\DLLs" /&gt;
      &lt;path value="${sys.real_prefix}\Lib" /&gt;
      &lt;path value="${sys.real_prefix}" /&gt;
      &lt;path value="${sys.prefix}" /&gt;
      &lt;path value="${sys.prefix}\Lib\site-packages" /&gt;
    &lt;/search_path&gt;
  &lt;/python&gt;
  &lt;output run_filename="${cwd}\deployment\main.exe" /&gt;
&lt;/nuitka-compilation-report&gt;
</code></pre>
<p dir="auto">To reiterate, I have no idea what I'm supposed to do to get this working. I thought it would work out of the box, but WebEngine seems to complicate matters based on other people on the internet trying to get this to work. What should I do?</p>
]]></description><link>https://forum.qt.io/topic/164262/debugging-mwe-of-pyside6-deploy-with-webengine</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 21:50:26 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/164262.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 13 Feb 2026 22:28:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Debugging MWE of pyside6-deploy with WebEngine on Sun, 01 Mar 2026 19:26:45 GMT]]></title><description><![CDATA[<p dir="auto">So not exactly a solution, but pyinstaller on windows is working at this time, although it often breaks with new releases of pyside and different operating systems.</p>
<p dir="auto">Including all the stuff for WebEngine is a chronic problem for things like nuitka and pyinstaller because pyside can change the location of WebEngine stuff and different operating systems need stuff in different places. Code signing is also a chronic problem.</p>
]]></description><link>https://forum.qt.io/post/836691</link><guid isPermaLink="true">https://forum.qt.io/post/836691</guid><dc:creator><![CDATA[Mitchal Dichter]]></dc:creator><pubDate>Sun, 01 Mar 2026 19:26:45 GMT</pubDate></item><item><title><![CDATA[Reply to Debugging MWE of pyside6-deploy with WebEngine on Sat, 21 Feb 2026 01:37:27 GMT]]></title><description><![CDATA[<p dir="auto">I got dumpbin by installing Visual Studio and the "Desktop development with C++" workload with the Visual Studio Installer. Then I found dumpbin.exe and modified the path. So that error went away.</p>
<p dir="auto">Still has similar errors with nuitka though. Way over my head how to fix those.</p>
<p dir="auto">cmd</p>
<pre><code>(env) C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy&gt;pyside6-deploy
Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\__main__.py", line 206, in &lt;module&gt;
    main()
    ~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\__main__.py", line 188, in main
    MainControl.main()
    ~~~~~~~~~~~~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 1160, in main
    _main()
    ~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 999, in _main
    main_module = _createMainModule()
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 146, in _createMainModule
    main_module = buildMainModuleTree(
        source_code=None,
    )
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\tree\Building.py", line 1186, in buildMainModuleTree
    module.setStandardLibraryModules(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        early_module_names=detectEarlyImports(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stdlib_modules_names=detectStdlibAutoInclusionModules(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\nodes\ModuleNodes.py", line 961, in setStandardLibraryModules
    assert finding != "not-found", early_module_name
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: collections.abc
[DEPLOY] Exception occurred: Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\commands.py", line 27, in run_command
    subprocess.check_call(command, shell=is_windows)
    ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mldic\AppData\Local\Programs\Python\Python313\Lib\subprocess.py", line 419, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[WindowsPath('C:/Users/mldic/Documents/GitHub/BEMinstructionals.github.io/dev/testing_deploy/env/Scripts/python.exe'), '-m', 'nuitka', 'C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\deployment', '--quiet', '--noinclude-qt-translations', '--onefile', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--windows-icon-from-ico=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\env\\Lib\\site-packages\\PySide6\\scripts\\deploy_lib\\pyside_icon.ico', '--include-qt-plugins=networkinformation,platforminputcontexts,position,qmltooling']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy.py", line 152, in main
    command_str = nuitka.create_executable(source_file=config.source_file,
                                           extra_args=config.extra_args,
    ...&lt;5 lines&gt;...
                                           permissions=config.permissions,
                                           mode=config.mode)
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\nuitka_helper.py", line 178, in create_executable
    command_str, _ = run_command(command=command, dry_run=dry_run)
                     ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\commands.py", line 33, in run_command
    raise RuntimeError(
    ...&lt;2 lines&gt;...
    )
RuntimeError: [DEPLOY] Command C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Scripts\python.exe -m nuitka C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py --follow-imports --enable-plugin=pyside6 --output-dir=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment --quiet --noinclude-qt-translations --onefile --noinclude-dlls=*.cpp.o --noinclude-dlls=*.qsb --windows-icon-from-ico=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico --include-qt-plugins=networkinformation,platforminputcontexts,position,qmltooling failed with error Command '[WindowsPath('C:/Users/mldic/Documents/GitHub/BEMinstructionals.github.io/dev/testing_deploy/env/Scripts/python.exe'), '-m', 'nuitka', 'C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\main.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\deployment', '--quiet', '--noinclude-qt-translations', '--onefile', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--windows-icon-from-ico=C:\\Users\\mldic\\Documents\\GitHub\\BEMinstructionals.github.io\\dev\\testing_deploy\\env\\Lib\\site-packages\\PySide6\\scripts\\deploy_lib\\pyside_icon.ico', '--include-qt-plugins=networkinformation,platforminputcontexts,position,qmltooling']' returned non-zero exit status 1. and return_code1

ERROR:root:[DEPLOY] Executable not found at C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment\main.exe
</code></pre>
<p dir="auto">pysidedeploy.spec</p>
<pre><code>[app]

# title of your application
title = pyside_app_demo

# project directory. the general assumption is that project_dir is the parent directory
# of input_file
project_dir = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy

# source file path
input_file = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py

# directory where the executable output is generated
exec_directory = .

# path to .pyproject project file
project_file = 

# application icon
icon = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico

[python]

# python path
python_path = C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Scripts\python.exe

# python packages to install
packages = Nuitka==2.5.1

# buildozer = for deploying Android application
android_packages = buildozer==1.5.0,cython==0.29.33

[qt]

# comma separated path to qml files required
# normally all the qml files required by the project are added automatically
qml_files = 

# excluded qml plugin binaries
excluded_qml_plugins = 

# qt modules used. comma separated
modules = QmlModels,Network,QuickWidgets,Widgets,Gui,WebEngineCore,Positioning,PrintSupport,Quick,Core,OpenGL,WebEngineWidgets,Qml,WebChannel,QmlWorkerScript,QmlMeta

# qt plugins used by the application. only relevant for desktop deployment. for qt plugins used
# in android application see [android][plugins]
plugins = scenegraph,networkinformation,printsupport,egldeviceintegrations,accessiblebridge,platforms/darwin,platforminputcontexts,xcbglintegrations,tls,generic,iconengines,qmltooling,platformthemes,imageformats,networkaccess,platforms,position,styles

[android]

# path to pyside wheel
wheel_pyside = 

# path to shiboken wheel
wheel_shiboken = 

# plugins to be copied to libs folder of the packaged application. comma separated
plugins = 

[nuitka]

# usage description for permissions requested by the app as found in the info.plist file
# of the app bundle
# eg = extra_args = --show-modules --follow-stdlib
macos.permissions = 

# mode of using nuitka. accepts standalone or onefile. default is onefile.
mode = onefile

# (str) specify any extra nuitka arguments
extra_args = --quiet --noinclude-qt-translations

[buildozer]

# build mode
# possible options = [release, debug]
# release creates an aab, while debug creates an apk
mode = debug

# contrains path to pyside6 and shiboken6 recipe dir
recipe_dir = 

# path to extra qt android jars to be loaded by the application
jars_dir = 

# if empty uses default ndk path downloaded by buildozer
ndk_path = 

# if empty uses default sdk path downloaded by buildozer
sdk_path = 

# other libraries to be loaded. comma separated.
# loaded at app startup
local_libs = 

# architecture of deployed platform
# possible values = ["aarch64", "armv7a", "i686", "x86_64"]
arch = 
</code></pre>
<p dir="auto">nuitka-crash-report.xml</p>
<pre><code>&lt;?xml version='1.0' encoding='utf8'?&gt;
&lt;nuitka-compilation-report nuitka_version="2.5.1" nuitka_commercial_version="not installed" completion="exception"&gt;
  &lt;exception exception_type="AssertionError" exception_value="collections.abc"&gt;
Traceback (most recent call last):
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 1160, in main
    _main()
    ~~~~~^^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 999, in _main
    main_module = _createMainModule()
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\MainControl.py", line 146, in _createMainModule
    main_module = buildMainModuleTree(
        source_code=None,
    )
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\tree\Building.py", line 1186, in buildMainModuleTree
    module.setStandardLibraryModules(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        early_module_names=detectEarlyImports(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        stdlib_modules_names=detectStdlibAutoInclusionModules(),
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    )
    ^
  File "C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\nuitka\nodes\ModuleNodes.py", line 961, in setStandardLibraryModules
    assert finding != "not-found", early_module_name
           ^^^^^^^^^^^^^^^^^^^^^^
AssertionError: collections.abc
&lt;/exception&gt;
  &lt;performance&gt;
    &lt;memory_usage name="after_launch" value="39583744" /&gt;
  &lt;/performance&gt;
  &lt;data_composer blob_size="None" /&gt;
  &lt;command_line&gt;
    &lt;option value="C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\main.py" /&gt;
    &lt;option value="--follow-imports" /&gt;
    &lt;option value="--enable-plugin=pyside6" /&gt;
    &lt;option value="--output-dir=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\deployment" /&gt;
    &lt;option value="--quiet" /&gt;
    &lt;option value="--noinclude-qt-translations" /&gt;
    &lt;option value="--onefile" /&gt;
    &lt;option value="--noinclude-dlls=*.cpp.o" /&gt;
    &lt;option value="--noinclude-dlls=*.qsb" /&gt;
    &lt;option value="--windows-icon-from-ico=C:\Users\mldic\Documents\GitHub\BEMinstructionals.github.io\dev\testing_deploy\env\Lib\site-packages\PySide6\scripts\deploy_lib\pyside_icon.ico" /&gt;
    &lt;option value="--include-qt-plugins=networkinformation,platforminputcontexts,position,qmltooling" /&gt;
  &lt;/command_line&gt;
  &lt;plugins&gt;
    &lt;plugin name="anti-bloat" user_enabled="no" /&gt;
    &lt;plugin name="data-files" user_enabled="no" /&gt;
    &lt;plugin name="delvewheel" user_enabled="no" /&gt;
    &lt;plugin name="dll-files" user_enabled="no" /&gt;
    &lt;plugin name="eventlet" user_enabled="no" /&gt;
    &lt;plugin name="gevent" user_enabled="no" /&gt;
    &lt;plugin name="gi" user_enabled="no" /&gt;
    &lt;plugin name="glfw" user_enabled="no" /&gt;
    &lt;plugin name="implicit-imports" user_enabled="no" /&gt;
    &lt;plugin name="kivy" user_enabled="no" /&gt;
    &lt;plugin name="matplotlib" user_enabled="no" /&gt;
    &lt;plugin name="multiprocessing" user_enabled="no" /&gt;
    &lt;plugin name="options-nanny" user_enabled="no" /&gt;
    &lt;plugin name="pbr-compat" user_enabled="no" /&gt;
    &lt;plugin name="pkg-resources" user_enabled="no" /&gt;
    &lt;plugin name="playwright" user_enabled="no" /&gt;
    &lt;plugin name="pyside6" user_enabled="yes" /&gt;
    &lt;plugin name="pywebview" user_enabled="no" /&gt;
    &lt;plugin name="spacy" user_enabled="no" /&gt;
    &lt;plugin name="transformers" user_enabled="no" /&gt;
  &lt;/plugins&gt;
  &lt;distributions /&gt;
  &lt;python python_exe="${sys.prefix}\Scripts\python.exe" python_flavor="CPython Official" python_version="3.13.12" os_name="Windows" os_release="11" arch_name="x86_64" filesystem_encoding="utf-8"&gt;
    &lt;search_path&gt;
      &lt;path value="${cwd}" /&gt;
      &lt;path value="${sys.real_prefix}\DLLs" /&gt;
      &lt;path value="${sys.real_prefix}\Lib" /&gt;
      &lt;path value="${sys.real_prefix}" /&gt;
      &lt;path value="${sys.prefix}" /&gt;
      &lt;path value="${sys.prefix}\Lib\site-packages" /&gt;
    &lt;/search_path&gt;
  &lt;/python&gt;
  &lt;output run_filename="${cwd}\deployment\main.exe" /&gt;
&lt;/nuitka-compilation-report&gt;
</code></pre>
<p dir="auto">I haven't found much on pyside6-deploy, and running with nuikta directly gets the same trace.</p>
<p dir="auto">Getting WebEngine into an installer is difficult because there's a separate executable and other things for Chromium. Some people have had success by manually copying some files rather than relying on a tool like pyside6-deploy. I'd rather not do that though.</p>
]]></description><link>https://forum.qt.io/post/836457</link><guid isPermaLink="true">https://forum.qt.io/post/836457</guid><dc:creator><![CDATA[Mitchal Dichter]]></dc:creator><pubDate>Sat, 21 Feb 2026 01:37:27 GMT</pubDate></item><item><title><![CDATA[Reply to Debugging MWE of pyside6-deploy with WebEngine on Sat, 14 Feb 2026 21:46:54 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I haven't yet used that tool, especially on Windows but did you see the warning about dumpbin not being found ?<br />
That might help you get better result.</p>
]]></description><link>https://forum.qt.io/post/836298</link><guid isPermaLink="true">https://forum.qt.io/post/836298</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Sat, 14 Feb 2026 21:46:54 GMT</pubDate></item></channel></rss>