pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

  • <tfoot id='yEwxI'></tfoot>
  • <small id='yEwxI'></small><noframes id='yEwxI'>

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

      1. <legend id='yEwxI'><style id='yEwxI'><dir id='yEwxI'><q id='yEwxI'></q></dir></style></legend>
        • <bdo id='yEwxI'></bdo><ul id='yEwxI'></ul>
      2. Python 3.5 + PyQt5 到獨立 exe

        Python 3.5 + PyQt5 to standalone exe(Python 3.5 + PyQt5 到獨立 exe)

            • <tfoot id='kLHY4'></tfoot>

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

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

                <tbody id='kLHY4'></tbody>
                  <bdo id='kLHY4'></bdo><ul id='kLHY4'></ul>
                  <legend id='kLHY4'><style id='kLHY4'><dir id='kLHY4'><q id='kLHY4'></q></dir></style></legend>
                  本文介紹了Python 3.5 + PyQt5 到獨立 exe的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我是編碼新手,我需要將我的 py 文件轉換為 exe.我嘗試了 py2exe,但它不適用于 python 3.5.然后我嘗試了pyinstaller并且它工作了,但是當我將PyQt5添加到程序中時,pyinstaller也失敗了.我嘗試了nuitka,它構建了exe,但是當我單擊exe文件時,它會顯示一個控制臺幾秒鐘并關閉.我需要一個在激活后顯示 gui 的 exe.以下是我在程序中使用的模塊:

                  I'm new to coding and I need to transform my py file to an exe. I tried py2exe and it didn't work with python 3.5. Then I tried pyinstaller and it worked, but when I added PyQt5 to the program, pyinstaller also failed. I tried nuitka, and it builds the exe, but when I click on the exe file it shows a console for a few seconds and closes. I need an exe which shows a gui after being activated. Here are the modules that I used in the program:

                  import P4
                  import time
                  from datetime import datetime,date
                  import traceback
                  import os
                  import sys
                  import threading
                  from PyQt5 import QtCore
                  from PyQt5 import QtGui
                  from PyQt5.QtWidgets import *
                  from PyQt5.QtCore import QCoreApplication, QTimer
                  

                  我從 nuitka exe 文件中得到的錯誤:

                  Error I get from nuitka exe file:

                  我從 pyinstaller exe 文件中得到的錯誤:

                  Error I get from pyinstaller exe file:

                  pyinstaller 需要的 Dll:dll

                  Dll's that pyinstaller needs: dlls

                  推薦答案

                  我已經(jīng)弄清楚如何使用 Python 3.5 和 pyinstaller 制作一個 exe.你需要安裝這個:

                  I've figured out how to make an exe with Python 3.5 and pyinstaller. You need to install this:

                  pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip --upgrade
                  

                  然后添加 PyQt5 dll 的路徑.我用這個:

                  Then add path to PyQt5 dll's. I used this:

                  pyinstaller -y --clean --paths C:TEMPenvLibsite-packagesPyQt5Qtin
                  

                  這篇關于Python 3.5 + PyQt5 到獨立 exe的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關文檔推薦

                  How to bind a function to an Action from Qt menubar?(如何將函數(shù)綁定到 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` 構造函數(shù)有未知關鍵字 `data`)
                  Change x-axis ticks to custom strings(將 x 軸刻度更改為自定義字符串)
                  How to show progress bar while saving file to excel in python?(如何在python中將文件保存為excel時顯示進度條?)
                  1. <i id='hikdV'><tr id='hikdV'><dt id='hikdV'><q id='hikdV'><span id='hikdV'><b id='hikdV'><form id='hikdV'><ins id='hikdV'></ins><ul id='hikdV'></ul><sub id='hikdV'></sub></form><legend id='hikdV'></legend><bdo id='hikdV'><pre id='hikdV'><center id='hikdV'></center></pre></bdo></b><th id='hikdV'></th></span></q></dt></tr></i><div class="ecixqnu" id='hikdV'><tfoot id='hikdV'></tfoot><dl id='hikdV'><fieldset id='hikdV'></fieldset></dl></div>
                      <bdo id='hikdV'></bdo><ul id='hikdV'></ul>

                          <legend id='hikdV'><style id='hikdV'><dir id='hikdV'><q id='hikdV'></q></dir></style></legend>
                        1. <tfoot id='hikdV'></tfoot>
                          • <small id='hikdV'></small><noframes id='hikdV'>

                              <tbody id='hikdV'></tbody>
                            主站蜘蛛池模板: 电池挤压试验机-自行车喷淋-车辆碾压试验装置-深圳德迈盛测控设备有限公司 | 铝箔-铝板-花纹铝板-铝型材-铝棒管-上海百亚金属材料有限公司 | 并离网逆变器_高频UPS电源定制_户用储能光伏逆变器厂家-深圳市索克新能源 | 蓄电池回收,ups电池后备电源回收,铅酸蓄电池回收,机房电源回收-广州益夫铅酸电池回收公司 | 排烟防火阀-消防排烟风机-正压送风口-厂家-价格-哪家好-德州鑫港旺通风设备有限公司 | 北京银联移动POS机办理_收银POS机_智能pos机_刷卡机_收银系统_个人POS机-谷骐科技【官网】 | 复合肥,化肥厂,复合肥批发,化肥代理,复合肥品牌-红四方 | 无线对讲-无线对讲系统解决方案-重庆畅博通信 | 网站制作优化_网站SEO推广解决方案-无锡首宸信息科技公司 | 水冷散热器_水冷电子散热器_大功率散热器_水冷板散热器厂家-河源市恒光辉散热器有限公司 | 振动时效_振动时效仪_超声波冲击设备-济南驰奥机电设备有限公司 北京宣传片拍摄_产品宣传片拍摄_宣传片制作公司-现像传媒 | 成人纸尿裤,成人尿不湿,成人护理垫-山东康舜日用品有限公司 | 搪瓷搅拌器,搪玻璃搅拌器,搪玻璃冷凝器_厂家-淄博越宏化工设备 | 上海瑶恒实业有限公司|消防泵泵|离心泵|官网 | 东莞ERP软件_广州云ERP_中山ERP_台湾工厂erp系统-广东顺景软件科技有限公司 | 帽子厂家_帽子工厂_帽子定做_义乌帽厂_帽厂_制帽厂 | 浙江筋膜枪-按摩仪厂家-制造商-肩颈按摩仪哪家好-温州市合喜电子科技有限公司 | 黄石东方妇产医院_黄石妇科医院哪家好_黄石无痛人流医院 | 地脚螺栓_材质_标准-永年县德联地脚螺栓厂家 | 卓能JOINTLEAN端子连接器厂家-专业提供PCB接线端子|轨道式端子|重载连接器|欧式连接器等电气连接产品和服务 | 三效蒸发器_多效蒸发器价格_四效三效蒸发器厂家-青岛康景辉 | 威实软件_软件定制开发_OA_OA办公系统_OA系统_办公自动化软件 | 存包柜厂家_电子存包柜_超市存包柜_超市电子存包柜_自动存包柜-洛阳中星 | 工业机械三维动画制作 环保设备原理三维演示动画 自动化装配产线三维动画制作公司-南京燃动数字 聚合氯化铝_喷雾聚氯化铝_聚合氯化铝铁厂家_郑州亿升化工有限公司 | 仓储笼_金属箱租赁_循环包装_铁网箱_蝴蝶笼租赁_酷龙仓储笼租赁 测试治具|过炉治具|过锡炉治具|工装夹具|测试夹具|允睿自动化设备 | 电动垃圾车,垃圾清运车-江苏速利达机车有限公司 | 工业雾炮机_超细雾炮_远程抑尘射雾器-世纪润德环保设备 | 深圳诚暄fpc首页-柔性线路板,fpc柔性线路板打样生产厂家 | 光环国际-新三板公司_股票代码:838504 | 海峰资讯 - 专注装饰公司营销型网站建设和网络营销培训 | 西门子代理商_西门子变频器总代理-翰粤百科| 磁力抛光研磨机_超声波清洗机厂家_去毛刺设备-中锐达数控 | MVE振动电机_MVE震动电机_MVE卧式振打电机-河南新乡德诚生产厂家 | 气体检测仪-氢气检测仪-可燃气体传感器-恶臭电子鼻-深国安电子 | 合肥抖音SEO网站优化-网站建设-网络推广营销公司-百度爱采购-安徽企匠科技 | 尼龙PA610树脂,尼龙PA612树脂,尼龙PA1010树脂,透明尼龙-谷骐科技【官网】 | 泥沙分离_泥沙分离设备_泥砂分离机_洛阳隆中重工机械有限公司 | 闸阀_截止阀_止回阀「生产厂家」-上海卡比阀门有限公司 | 杭州荣奥家具有限公司-浙江办公家具,杭州办公家具厂 | 无味渗透剂,泡沫抑尘剂,烷基糖苷-威海威能化工有限公司 | 冲锋衣滑雪服厂家-冲锋衣定制工厂-滑雪服加工厂-广东睿牛户外(S-GERT) |