tkinter - 为什么 pyInstaller 试图导入 tkinter?
问题描述
我的 pyInstaller 构建正在尝试安装 tkinter,这会导致各种问题。我可以解决它们,但真正的问题是它为什么要尝试导入 tkinter?我正在使用wx!
这是我的依赖项:
qrcode==5.3
PyExecJS==1.1.0
pysftp==0.2.8
six==1.10.0
requests==2.10.0
paramiko==1.15.2
nose==1.3.7
verlib==0.1
jsbeautifier==1.5.4
ecdsa==0.13
wxPython==3.0.3.0b20160914
invoke==1.0.0
polib==1.0.6
macholib==1.11
pycrypto==2.6.1
pyOpenSSL==19.0.0
PyInstaller==3.4
mandrill==1.0.57
mock==2.0.0
ndg_httpsclient==0.5.1
pymongo==3.7.2
PyYAML==5.1
那么,为什么要尝试包含 tkinter?
解决方案
tkinter 被枕头使用。qrcode 需要枕头(反过来)。
推荐阅读
- php - 如何在函数之外获取变量值以与 OFFSET 一起使用
- python - 如何使用 API 从 Earth Explorer 下载信息?
- python - Python - 事件循环的无效语法(maze_run-master)
- python - 如何存储递归图函数中的值?
- c++ - 如何将int转换为chrono毫秒
- go - 为什么并行化会减慢我的程序速度?
- python - 逐字符python分割阿拉伯语单词
- symfony - 在单个字段下映射多个实体
- c# - 卸载应用程序域时未卸载 grpc_csharp_ext.x86.dll 库
- javascript - 如何使用 Tampermonkey 在 React 应用程序中模拟点击?