本帖最后由 lx136648 于 2026-1-1 18:31 编辑
能帮我看一下怎么回事吗
[Shell] 纯文本查看 复制代码 检测到 GUI 框架: PyQt5
Run: D:/anaconda3/envs/pyqt5/python.exe -m nuitka --onefile --jobs=16 --lto=no --nofollow-import-to=pytest --nofollow-import-to=unittest --nofollow-import-to=_pytest --nofollow-import-to=hypothesis --nofollow-import-to=pandas.tests --nofollow-import-to=numpy.tests --nofollow-import-to=matplotlib.tests --nofollow-import-to=sklearn.utils.tests --nofollow-import-to=statsmodels.tests --nofollow-import-to=scipy.tests --nofollow-import-to=notebook --nofollow-import-to=IPython --enable-plugin=pyqt5 --include-qt-plugins=sensible,styles,platforms --nofollow-import-to=tkinter --assume-yes-for-downloads --remove-output --output-dir=C:/Users/33572/Desktop/arm/控制/LoRa兼容\dist_output C:/Users/33572/Desktop/arm/控制/LoRa兼容/控制程序.py --msvc=latest --windows-console-mode=disable --windows-icon-from-ico=C:/Users/33572/Desktop/arm/控制/LoRa兼容\dist_output\icon.ico --disable-plugin=upx
Nuitka-Options: Used command line options:
Nuitka-Options: --onefile --jobs=16 --lto=no --nofollow-import-to=pytest --nofollow-import-to=unittest --nofollow-import-to=_pytest --nofollow-import-to=hypothesis --nofollow-import-to=pandas.tests --nofollow-import-to=numpy.tests --nofollow-import-to=matplotlib.tests --nofollow-import-to=sklearn.utils.tests --nofollow-import-to=statsmodels.tests --nofollow-import-to=scipy.tests --nofollow-import-to=notebook --nofollow-import-to=IPython --enable-plugin=pyqt5 --include-qt-plugins=sensible,styles,platforms --nofollow-import-to=tkinter --assume-yes-for-downloads --remove-output --output-dir=C:/Users/33572/Desktop/arm/控制/LoRa兼容\dist_output ~\Desktop\arm\控制\LoRa兼容\控制程序.py --msvc=latest --windows-console-mode=disable --windows-icon-from-ico=C:/Users/33572/Desktop/arm/控制/LoRa兼容\dist_output\icon.ico --disable-plugin=upx
Nuitka-Plugins:WARNING: pyqt5: For the obsolete PyQt5 the Nuitka support is incomplete. Threading, callbacks to compiled functions, etc. may not be working.
Nuitka-Plugins:WARNING: Complex topic! More information can be found at https://nuitka.net/info/pyqt5.html
Nuitka: Starting Python compilation with:
Nuitka: Version '2.7.13' on Python 3.10 (flavor 'Anaconda Python') commercial grade 'not installed'.
Traceback (most recent call last):
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\Plugins.py", line 71, in withPluginProblemReporting
yield
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\Plugins.py", line 1150, in onCompilationStartChecks
plugin.onCompilationStartChecks()
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 86, in onCompilationStartChecks
sensible_qt_plugins = self._getSensiblePlugins()
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 218, in _getSensiblePlugins
tuple(
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 238, in <genexpr>
if self.hasPluginFamily(family)
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 461, in hasPluginFamily
for plugin_dir in self.getQtPluginDirs()
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 424, in getQtPluginDirs
qt_info = self._getQtInformation()
File "D:\anaconda3\envs\pyqt5\lib\site-packages\nuitka\plugins\standard\PySidePyQtPlugin.py", line 1341, in _getQtInformation
if conda_prefix is not None:
UnboundLocalError: local variable 'conda_prefix' referenced before assignment
FATAL: pyqt5: Plugin issue while working on 'plugin startup checks'. Please report the bug with the above traceback included.
Nuitka-Reports: Compilation crash report written to file 'nuitka-crash-report.xml'. |