久久久久久久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:警告:找不到庫的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我正在嘗試從我的代碼中創(chuàng)建一個使用 PyQt5 的可執(zhí)行文件.我正在使用 Python 3.5.3 -64 位,在 Windows 10 中開發(fā),使用 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.

                  我正在使用以下內(nèi)容創(chuàng)建我的應(yīng)用程序:

                  I'm creating my application using the following:

                  pyinstaller Start_UI.py
                  

                  輸出這些警告.

                  pyinstaller Start_UI.spec
                  

                  哪些輸出這些警告

                  當我打開 pyinstaller 創(chuàng)建的可執(zhí)行文件時,應(yīng)用程序會立即關(guān)閉.我懷疑應(yīng)用程序由于警告而失敗.如何解決警告以使可執(zhí)行文件正常工作?

                  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?

                  感謝您的回復(fù).

                  我在我的計算機上搜索 DLL 文件并將它們復(fù)制到 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 安裝中找到了任務(wù) api-mis-win-crt-* dll 文件,并將它們也復(fù)制到了 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?

                  推薦答案

                  經(jīng)過大量研究,問題出在 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 文件復(fù)制到 pyinstaller 生成的 dist 文件夾中.至此,pyinstaller 可以將 Hello World 程序無錯誤地轉(zhuǎn)為可執(zhí)行文件:

                  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 程序轉(zhuǎn)換為可執(zhí)行文件會出錯,因為 pyinstaller 無法找到 Qt5*.dll 文件.要修復(fù)此問題,請將 Lib/site-packages/PyQt5/Qt/bin 下的 PyQt5、Qt5*.dll 文件復(fù)制到 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 中創(chuàng)建一個可以工作的可執(zhí)行 Start_UI.exe.

                  This creates a working executable Start_UI.exe in dist.

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

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

                  相關(guān)文檔推薦

                  How to make a discord bot that gives roles in Python?(如何制作一個在 Python 中提供角色的不和諧機器人?)
                  Discord bot isn#39;t responding to commands(Discord 機器人沒有響應(yīng)命令)
                  Can you Get the quot;About mequot; feature on Discord bot#39;s? (Discord.py)(你能得到“關(guān)于我嗎?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>
                          • 主站蜘蛛池模板: 久久99精品久久久久久 | 一区二区三区亚洲 | 综合九九 | 99热精品在线观看 | 国产精品综合视频 | 精品欧美乱码久久久久久1区2区 | 丁香五月缴情综合网 | 色在线视频网站 | 国产精品视频网 | 日本高清aⅴ毛片免费 | 国产精品色| 欧美成人h版在线观看 | 亚洲一区二区电影网 | 香蕉国产在线视频 | 一二三区av | 天堂网avav | 99成人| 中文一区二区 | 久久久久久久一区二区三区 | 亚洲福利一区 | 国产精品www | 亚洲www啪成人一区二区麻豆 | 蜜臀网 | 九九热视频这里只有精品 | 欧美久久一级特黄毛片 | 欧美激情免费在线 | 日韩精品免费一区二区在线观看 | 天天干亚洲 | 欧美激情综合网 | 中文字幕av中文字幕 | 国产精品福利在线观看 | 国产亚洲精品久久久久久豆腐 | 91精品国产综合久久久密闭 | 久久久久久久亚洲精品 | 新疆少妇videos高潮 | 91精品中文字幕一区二区三区 | 九九久久精品 | 久久综合一区 | 一级片av | 一级在线观看 | 91社区在线观看高清 |