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

  • <small id='R6wMW'></small><noframes id='R6wMW'>

    <legend id='R6wMW'><style id='R6wMW'><dir id='R6wMW'><q id='R6wMW'></q></dir></style></legend>

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

      1. <tfoot id='R6wMW'></tfoot>

        Pyinstaller:警告:找不到庫

        Pyinstaller: WARNING: lib not found(Pyinstaller:警告:找不到庫)

        <tfoot id='jV9Uh'></tfoot><legend id='jV9Uh'><style id='jV9Uh'><dir id='jV9Uh'><q id='jV9Uh'></q></dir></style></legend>

            • <bdo id='jV9Uh'></bdo><ul id='jV9Uh'></ul>

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

                  <small id='jV9Uh'></small><noframes id='jV9Uh'>

                  本文介紹了Pyinstaller:警告:找不到庫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試從我的代碼中創建一個使用 PyQt5 的可執行文件.我正在使用 Python 3.5.3 -64 位,在 Windows 10 中開發,使用 pip 安裝 pyinstaller 3.2.1,并安裝了 pywin32.Pyinstaller 運行但輸出未找到庫的警告.

                  I'm trying create an executable from my code that uses PyQt5. I'm using Python 3.5.3 -64 bits, developing in Windows 10, used pip to install pyinstaller 3.2.1, and installed pywin32. Pyinstaller runs but outputs warnings that libraries aren't found.

                  我正在使用以下內容創建我的應用程序:

                  I'm creating my application using the following:

                  pyinstaller Start_UI.py
                  

                  輸出這些警告.

                  pyinstaller Start_UI.spec
                  

                  哪些輸出這些警告

                  當我打開 pyinstaller 創建的可執行文件時,應用程序會立即關閉.我懷疑應用程序由于警告而失敗.如何解決警告以使可執行文件正常工作?

                  When I open the executable that pyinstaller creates, the application closes immediately. I suspect the application is failing because of the warnings. How can I resolve the warnings so the executable works?

                  感謝您的回復.

                  我在我的計算機上搜索 DLL 文件并將它們復制到 dist 文件夾中,該文件夾通過以下方式解決了警告輸出:

                  I searched for DLL files on my computer and copied them into the dist folder which resolved the warnings output by:

                  pyinstaller Start_UI.py
                  

                  至于:

                  pyinstaller Start_UI.spec
                  

                  我在我的 Windows SDK 安裝中找到了任務 api-mis-win-crt-* dll 文件,并將它們也復制到了 dist 中.這一次,警告沒有得到解決,因為 pyinstaller 找不到 dll 文件.我需要將 api dll 文件放在哪里以便 pyinstaller 找到它們?

                  I located the mission api-mis-win-crt-* dll files in my installation of Windows SDK, and copied them into dist as well. This time, the warnings were not resolved as pyinstaller can't locate the dll files. Where do I need to put the api dll files for pyinstaller to locate them?

                  推薦答案

                  經過大量研究,問題出在 Windows 10 上.雖然我沒有找到 Windows 10 解決方案,但我確實在 Windows 7 中解決了我的問題.

                  After a lot of research, the problem is because of Windows 10. While I didn't find a Windows 10 solution, I did solve my problem in Windows 7.

                  我在 Windows 7 上測試了 pyinstaller,但仍然收到警告,但不是 api-ms-win-crt-*.dll 警告.

                  I tested pyinstaller on Windows 7 and was still getting warnings, but not the api-ms-win-crt-*.dll warnings.

                  我將 Python35 目錄中的所有 dll 文件復制到 pyinstaller 生成的 dist 文件夾中.至此,pyinstaller 可以將 Hello World 程序無錯誤地轉為可執行文件:

                  I copied all the dll files in my Python35 directory into the pyinstaller generated dist folder. At this point, pyinstaller can turn a Hello World program into an executable without errors:

                  pyinstaller --onefile Hello_World.py
                  

                  但是,將 PyQt5 程序轉換為可執行文件會出錯,因為 pyinstaller 無法找到 Qt5*.dll 文件.要修復此問題,請將 Lib/site-packages/PyQt5/Qt/bin 下的 PyQt5、Qt5*.dll 文件復制到 dist.然后告訴 pyinstaller dll 文件在哪里使用 --path:

                  However, turning a PyQt5 program into an executable gives errors because pyinstaller can't locate the Qt5*.dll files. To fix this copy the PyQt5, Qt5*.dll files, under Lib/site-packages/PyQt5/Qt/bin and into dist. Then tell pyinstaller where the dll files are using --path:

                  pyinstaller --onefile --path dist Start_UI.py
                  

                  這會在 dist 中創建一個可以工作的可執行 Start_UI.exe.

                  This creates a working executable Start_UI.exe in dist.

                  這篇關于Pyinstaller:警告:找不到庫的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關于我嗎?Discord 機器人的功能?(不和諧.py))
                  message.channel.id Discord PY(message.channel.id Discord PY)
                  How do I host my discord.py bot on heroku?(如何在 heroku 上托管我的 discord.py 機器人?)
                  discord.py - Automaticaly Change an Role Color(discord.py - 自動更改角色顏色)
                  1. <small id='p3Kjz'></small><noframes id='p3Kjz'>

                      <tfoot id='p3Kjz'></tfoot>

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

                        <tbody id='p3Kjz'></tbody>

                        <bdo id='p3Kjz'></bdo><ul id='p3Kjz'></ul>
                      • <legend id='p3Kjz'><style id='p3Kjz'><dir id='p3Kjz'><q id='p3Kjz'></q></dir></style></legend>
                          • 主站蜘蛛池模板: 视频一区二区三区中文字幕 | 男女网站视频 | 国产视频二区在线观看 | 欧美亚洲一区二区三区 | 天天玩夜夜操 | 日本精品在线观看 | 中文字幕一区二区三区日韩精品 | 日韩一区二区福利视频 | 久久久久国产一区二区三区四区 | 国产精品欧美一区二区三区不卡 | xnxx 日本免费 | 亚洲人成在线播放 | 日韩欧美手机在线 | 精品久久香蕉国产线看观看亚洲 | 亚欧性视频 | 久久一二区 | a在线视频 | 国产精品99久久久久久久久久久久 | 久久久国产精品 | 亚洲一区 | 给我免费的视频在线观看 | 免费看国产a| 日韩 国产 在线 | 欧美日韩一二三区 | 中文日韩字幕 | 欧美日韩久久 | 一区二区国产精品 | 亚洲色图50p | 精品视频在线播放 | 99久久精品免费看国产四区 | 日本视频中文字幕 | 91在线观看视频 | 日韩在线一区二区 | 欧美一级片 | 精品国产视频 | 国产成人99久久亚洲综合精品 | 女女百合av大片一区二区三区九县 | 欧美 日本 国产 | 国产第一亚洲 | 日韩精品一区二区三区高清免费 | av大片|