如何使用pyinstaller从4个python脚本和图像(不是图标)构建可执行文件?

时间:2020-09-14 19:59:34

标签: python pygame pyinstaller

我已经尝试过

   pyinstaller --onefile main.py

然后,在将图像路径添加到main.spec中的data []之后

   pyinstaller main.spec

我明白了:

Unable to find "/usr/include/python3.6m/pyconfig.h" when adding binary and data files.This would mean your Python installation doesn't
come with proper library files. This usually happens by missing development
package, or unsuitable build parameters of Python installation.

0 个答案:

没有答案