首页 > 解决方案 > pyinstaller 无法添加模块 pypresence

问题描述

我正在尝试将 python 文件转换为 exe,但 pyinstaller 无法添加 pypresence,并且在运行 exe 时没有收到名为 pypresence 的模块 odule 错误。我在 .spec 文件中添加了 pypresence 作为隐藏导入

标签: pythonpyinstaller

解决方案


推荐阅读