久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      <bdo id='SVhvJ'></bdo><ul id='SVhvJ'></ul>

    <i id='SVhvJ'><tr id='SVhvJ'><dt id='SVhvJ'><q id='SVhvJ'><span id='SVhvJ'><b id='SVhvJ'><form id='SVhvJ'><ins id='SVhvJ'></ins><ul id='SVhvJ'></ul><sub id='SVhvJ'></sub></form><legend id='SVhvJ'></legend><bdo id='SVhvJ'><pre id='SVhvJ'><center id='SVhvJ'></center></pre></bdo></b><th id='SVhvJ'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='SVhvJ'><tfoot id='SVhvJ'></tfoot><dl id='SVhvJ'><fieldset id='SVhvJ'></fieldset></dl></div>
  1. <small id='SVhvJ'></small><noframes id='SVhvJ'>

      <legend id='SVhvJ'><style id='SVhvJ'><dir id='SVhvJ'><q id='SVhvJ'></q></dir></style></legend>
    1. <tfoot id='SVhvJ'></tfoot>

      無法為 pyqt5 gui 應用程序執行腳本 fbs_pyinstaller_

      Failed to execute script fbs_pyinstaller_hook for pyqt5 gui application(無法為 pyqt5 gui 應用程序執行腳本 fbs_pyinstaller_hook)
      1. <small id='JIBfA'></small><noframes id='JIBfA'>

        <i id='JIBfA'><tr id='JIBfA'><dt id='JIBfA'><q id='JIBfA'><span id='JIBfA'><b id='JIBfA'><form id='JIBfA'><ins id='JIBfA'></ins><ul id='JIBfA'></ul><sub id='JIBfA'></sub></form><legend id='JIBfA'></legend><bdo id='JIBfA'><pre id='JIBfA'><center id='JIBfA'></center></pre></bdo></b><th id='JIBfA'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='JIBfA'><tfoot id='JIBfA'></tfoot><dl id='JIBfA'><fieldset id='JIBfA'></fieldset></dl></div>
          <bdo id='JIBfA'></bdo><ul id='JIBfA'></ul>
            <tbody id='JIBfA'></tbody>
        • <tfoot id='JIBfA'></tfoot>
        • <legend id='JIBfA'><style id='JIBfA'><dir id='JIBfA'><q id='JIBfA'></q></dir></style></legend>

              • 本文介紹了無法為 pyqt5 gui 應用程序執行腳本 fbs_pyinstaller_hook的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                我正在嘗試為 Windows 構建我的 python pyqt5 gui 應用程序,運行后:

                I'm trying to build my python pyqt5 gui application for windows, after running:

                fbs startproject
                
                fbs freeze
                

                使用 pyinstaller 我也得到相同的結果這是我的規范文件:

                using pyinstaller I get also the same results this is my spec file:

                # -*- mode: python ; coding: utf-8 -*-
                
                block_cipher = None
                
                added_files = [
                               ('C:\Users\Jared\Documents\Python Scripts\Bits App\bitsapp37\Lib\site-packages\PyQt5\Qt\bin\Qt5Core.dll', '.'),
                               ('C:\Users\Jared\Documents\Python Scripts\Bits App\bitsapp37\Lib\site-packages\PyQt5\Qt\bin\Qt5Gui.dll', '.'),
                               ('C:\Users\Jared\Documents\Python Scripts\Bits App\bitsapp37\Lib\site-packages\PyQt5\Qt\bin\Qt5Widgets.dll', '.')
                              ]
                a = Analysis(['C:\Users\Jared\Documents\Python Scripts\Bits App\main.py'],
                             pathex=['C:\Users\Jared\Documents\Python Scripts\Bits App\bitsapp37\Lib\site-packages\PyQt5\Qt\bin'],
                             binaries=[],
                             datas=[
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\add.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\contact.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\config.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\import.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\settings.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\exit.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\delete.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\export.png', '.'),
                                ('C:\Users\Jared\Documents\Python Scripts\Bits App\help.png', '.'),
                             ],
                             hiddenimports=[],
                             hookspath=['c:\users\jared\docume~1\python~1\bitsap~1\bitsap~1\lib\site-packages\fbs\freeze\hooks'],
                             runtime_hooks=['C:\Users\Jared\Documents\Python Scripts\Bits App\target\PyInstaller\fbs_pyinstaller_hook.py'],
                             excludes=[],
                             win_no_prefer_redirects=False,
                             win_private_assemblies=False,
                             cipher=block_cipher,
                             noarchive=False)
                pyz = PYZ(a.pure, a.zipped_data,
                             cipher=block_cipher)
                exe = EXE(pyz,
                          a.scripts,
                          [],
                          exclude_binaries=True,
                          name='main',
                          debug=False,
                          bootloader_ignore_signals=False,
                          strip=False,
                          upx=False,
                          console=True , 
                          icon='C:\Users\Jared\Documents\Python Scripts\Bits App\icon5.ico')
                coll = COLLECT(exe,
                               a.binaries,
                               a.zipfiles,
                               a.datas,
                               strip=False,
                               upx=False,
                               upx_exclude=[],
                               name='main')
                

                然后嘗試運行目標文件夾中的可執行文件,我收到此錯誤:

                then trying to run the executable file in target folder, I get this error:

                有誰知道如何解決這個問題,或者可能是什么原因造成的?

                Does anyone know how to fix this, or what might be causing it?

                如果它有助于我使用 python 3.7

                If it helps im using python 3.7

                我嘗試了 python 3.6 并重新安裝了所有內容,但仍然出現相同的錯誤.

                I tried python 3.6 and reinstalling everything, still getting the same error.

                編輯 2:錯誤日志:

                Traceback (most recent call last):
                  File "targetPyInstallerfbs_pyinstaller_hook.py", line 2, in <module>
                  File "importlib\__init__.py", line 126, in import_module
                  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
                  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
                  File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
                  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
                  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
                  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
                  File "<frozen importlib._bootstrap>", line 948, in _find_and_load_unlocked
                ModuleNotFoundError: No module named 'fbs_runtime'
                [16452] Failed to execute script fbs_pyinstaller_hook
                

                推薦答案

                我發現了問題,或者好像是問題,顯然pyinstaller沒有一路安裝,看github的時候發現pyinstaller-我安裝的鉤子,然后它工作了,所以一定要:

                I figured out the issue, or it seems to be the issue, apparently pyinstaller didnt install all the way, when I looked at the github, I noticed pyinstaller-hooks which is what I installed, then it worked, so be sure to:

                pip install pyinstaller-hooks
                

                我希望這會有所幫助!

                這篇關于無法為 pyqt5 gui 應用程序執行腳本 fbs_pyinstaller_hook的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                How to bind a function to an Action from Qt menubar?(如何將函數綁定到 Qt 菜單欄中的操作?)
                PyQt progress jumps to 100% after it starts(PyQt 啟動后進度躍升至 100%)
                How to set yaxis tick label in a fixed position so that when i scroll left or right the yaxis tick label should be visible?(如何將 yaxis 刻度標簽設置在固定位置,以便當我向左或向右滾動時,yaxis 刻度標簽應該可見
                `QImage` constructor has unknown keyword `data`(`QImage` 構造函數有未知關鍵字 `data`)
                Change x-axis ticks to custom strings(將 x 軸刻度更改為自定義字符串)
                How to show progress bar while saving file to excel in python?(如何在python中將文件保存為excel時顯示進度條?)
                    <bdo id='KXlWO'></bdo><ul id='KXlWO'></ul>

                    <legend id='KXlWO'><style id='KXlWO'><dir id='KXlWO'><q id='KXlWO'></q></dir></style></legend>
                  • <small id='KXlWO'></small><noframes id='KXlWO'>

                    <tfoot id='KXlWO'></tfoot>
                    <i id='KXlWO'><tr id='KXlWO'><dt id='KXlWO'><q id='KXlWO'><span id='KXlWO'><b id='KXlWO'><form id='KXlWO'><ins id='KXlWO'></ins><ul id='KXlWO'></ul><sub id='KXlWO'></sub></form><legend id='KXlWO'></legend><bdo id='KXlWO'><pre id='KXlWO'><center id='KXlWO'></center></pre></bdo></b><th id='KXlWO'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='KXlWO'><tfoot id='KXlWO'></tfoot><dl id='KXlWO'><fieldset id='KXlWO'></fieldset></dl></div>

                            <tbody id='KXlWO'></tbody>
                        • 主站蜘蛛池模板: 中文区中文字幕免费看 | 在线观看免费黄色片 | 男女黄网站| 午夜天堂精品久久久久 | 欧美free性 | 亚洲国产高清在线观看 | 日韩视频精品在线 | 午夜一区二区三区 | 一区中文字幕 | 久久国产电影 | hitomi一区二区三区精品 | 国产精品成人一区二区 | 日韩av在线一区二区三区 | 国内精品在线视频 | 啪啪免费网站 | 欧美性区| av免费入口 | 国产精品久久a | 国产日韩欧美一区二区 | 国产免费a视频 | 黄色片亚洲 | 四虎网站在线观看 | 亚洲欧美一区二区三区视频 | 欧美另类视频 | 视频一区二区三区在线观看 | 免费中文字幕 | 亚洲女人天堂成人av在线 | 久久这里有精品 | 亚洲一区中文字幕 | 精品日本久久久久久久久久 | 一区二区三区高清 | 精品视频在线免费观看 | 免费黄色a视频 | 久久久久久九九九九九九 | 亚洲欧美一区二区三区1000 | 91免费电影 | 一区二区免费 | 日韩高清国产一区在线 | 亚洲精品久久久 | 91免费电影 | 精品久久亚洲 |