Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.8.0.2
-
None
Description
执行 pyside6-deploy --name HelloWorld hello.py 报错:
FATAL: Error, failed to find path @rpath/QtQuickControls2FluentWinUI3StyleImpl.framework/Versions/A/QtQuickControls2FluentWinUI3StyleImpl (resolved DLL to /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/Controls/FluentWinUI3/QtQuickControls2FluentWinUI3StyleImpl.framework/Versions/A/QtQuickControls2FluentWinUI3StyleImpl) for /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/Qt/qml/QtQuick/Controls/FluentWinUI3/libqtquickcontrols2fluentwinui3styleplugin.dylib from 'PySide6', please report the bug.
[DEPLOY] Exception occurred: Traceback (most recent call last):
File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 27, in run_command
subprocess.check_call(command, shell=is_windows)
File "/Users/qiguangsen1/.pyenv/versions/3.11.10/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '[PosixPath('/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/bin/python'), '-m', 'nuitka', '/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/hello.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=*.webp', '--include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/Main/Main.qml=./Main/Main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy.py", line 154, in main
command_str = nuitka.create_executable(source_file=config.source_file,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/nuitka_helper.py", line 172, in create_executable
command_str, _ = run_command(command=command, dry_run=dry_run)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/commands.py", line 33, in run_command
raise RuntimeError(
RuntimeError: [DEPLOY] Command /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/bin/python -m nuitka /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/hello.py --follow-imports --enable-plugin=pyside6 --output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/deployment --quiet --noinclude-qt-translations --standalone --macos-create-app-bundle --noinclude-dlls=.cpp.o --noinclude-dlls=.qsb --noinclude-dlls=.webp --include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/Main/Main.qml=./Main/Main.qml --noinclude-dlls=libQt6Charts --noinclude-dlls=libQt6Sensors* --noinclude-dlls=libQt6WebEngine* --noinclude-dlls=/qml/QtQuickEffectMaker/ --macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns --include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph failed with error Command '[PosixPath('/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/bin/python'), '-m', 'nuitka', '/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/hello.py', '--follow-imports', '--enable-plugin=pyside6', '--output-dir=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/deployment', '--quiet', '--noinclude-qt-translations', '--standalone', '--macos-create-app-bundle', '--noinclude-dlls=*.cpp.o', '--noinclude-dlls=*.qsb', '--noinclude-dlls=*.webp', '--include-data-files=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/Main/Main.qml=./Main/Main.qml', '--noinclude-dlls=libQt6Charts*', '--noinclude-dlls=libQt6Sensors*', '--noinclude-dlls=libQt6WebEngine*', '--noinclude-dlls=*/qml/QtQuickEffectMaker/*', '--macos-app-icon=/Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/.venv/lib/python3.11/site-packages/PySide6/scripts/deploy_lib/pyside_icon.icns', '--include-qt-plugins=accessiblebridge,networkaccess,networkinformation,platforminputcontexts,platforms/darwin,qml,qmltooling,scenegraph']' returned non-zero exit status 1. and return_code1
[DEPLOY] Executed file created in /Users/qiguangsen1/work/B_Project/BBG/Reverse-Engineering/PySide6-Demo/HelloWorld.app