Pyinstaller打开

2024-09-30 02:15:31 发布

您现在位置:Python中文网/ 问答频道 /正文

如何在使用AVC(http://avc.inrim.it/html/)的python脚本上使用Pyinstaller?你知道吗

我以正常方式尝试过,但输出可执行应用程序抛出错误:

ImportError: No module named avc.avcgtk

是的。你知道吗

[编辑]

我已经使用pip安装了pygtk和avc。 此处使用的示例脚本在python上运行良好: http://avc.inrim.it/examples/gtk_spinbutton.pyhttp://avc.inrim.it/examples/gtk_spinbutton.glade


Tags: 脚本应用程序httpgtkhtml错误方式it
1条回答
网友
1楼 · 发布于 2024-09-30 02:15:31

我不知道这是怎么发生的。你知道吗

对于使用python正常运行该示例脚本,只需要from avc import * 但由于某些原因,pyinstaller找不到平均值模块,因此在使用pyinstaller创建独立应用程序时还需要额外的虚拟导入。你知道吗

from avc import *
import avc.avcgtk  

相关问题 更多 >

    热门问题