创建exe后GUI无法运行

时间:2020-07-23 08:43:59

标签: python excel pandas user-interface exe

我用python开发了GUI,该GUI具有以下5个按钮

  • 上传excel按钮
  • 检查输入按钮,
  • 运行按钮,
  • 重置按钮,
  • 查看输出按钮

这是GUI的工作方式:

  • 点击上传按钮后,我们需要加载excel按钮,(将从excel文件中使用熊猫创建数据框)

  • 选中输入按钮,将检查excel文件的标题(一旦标题与预定义的标题匹配)

  • 运行按钮将在其背面运行程序并提供输出

  • 查看输出按钮将转到GUI的下一页,我们可以在其中查看输出

但是在使用.exe创建autopytoexe之后,将其打开

只有上传excel按钮重置按钮有效,而所有其他按钮及其功能均不起作用。

我已附上autopytoexe

的警告
590792 WARNING: Unable to find package for requirement greenlet from package gevent.
590799 INFO: Packages required by gevent:
['cffi']
729965 WARNING: Hidden import "PyQt5.sip" not found!
786987 WARNING: Hidden import "MySQLdb" not found!
787001 WARNING: Hidden import "psycopg2" not found!
794722 WARNING: Hidden import "sqlalchemy.sql.functions.func" not found!

809639 WARNING: lib not found: mpich2mpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_mpich2_lp64.dll
810002 WARNING: lib not found: pgf90.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
810018 WARNING: lib not found: pgf90rtl.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
810028 WARNING: lib not found: pgc14.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_pgi_thread.dll
810409 WARNING: lib not found: impi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_intelmpi_lp64.dll
810734 WARNING: lib not found: mpich2mpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_mpich2_ilp64.dll
810989 WARNING: lib not found: msmpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_msmpi_ilp64.dll
811415 WARNING: lib not found: impi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_intelmpi_ilp64.dll
812124 WARNING: lib not found: msmpi.dll dependency of c:\programdata\anaconda3\Library\bin\mkl_blacs_msmpi_lp64.dll

818132 INFO: Warnings written to C:\Users\irjaed\AppData\Local\Temp\tmpxo5yg_wy\build\exe_reset_ver0\warn-exe_reset_ver0.txt
819393 INFO: Graph cross-reference written to C:\Users\irjaed\AppData\Local\Temp\tmpxo5yg_wy\build\exe_reset_ver0\xref-exe_reset_ver0.html
820046 INFO: Appending 'datas' from .spec
831543 INFO: checking PYZ
831563 INFO: Building PYZ because PYZ-00.toc is non existent
831575 INFO: Building PYZ (ZlibArchive) C:\Users\irjaed\AppData\Local\Temp\tmpxo5yg_wy\build\exe_reset_ver0\PYZ-00.pyz
844769 INFO: Building PYZ (ZlibArchive) C:\Users\irjaed\AppData\Local\Temp\tmpxo5yg_wy\build\exe_reset_ver0\PYZ-00.pyz completed successfully.
845067 INFO: checking PKG
845084 INFO: Building PKG because PKG-00.toc is non existent
845097 INFO: Building PKG (CArchive) PKG-00.pkg
1144547 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully.
1145215 INFO: Bootloader c:\programdata\anaconda3\lib\site-packages\PyInstaller\bootloader\Windows-64bit\runw.exe
1145231 INFO: checking EXE
1145257 INFO: Building EXE because EXE-00.toc is non existent
1145269 INFO: Building EXE from EXE-00.toc
1145291 INFO: Appending archive to EXE C:\Users\irjaed\AppData\Local\Temp\tmpxo5yg_wy\application\exe_reset_ver0.exe
1145936 INFO: Building EXE from EXE-00.toc completed successfully.

0 个答案:

没有答案