使用pyInstaller时缺少模块

时间:2018-10-17 20:53:42

标签: python python-3.x pyinstaller

我正在尝试使用pyInstaller从python脚本为macOS创建独立程序,但是每次尝试运行pyInstaller创建的程序时,都会出现以下错误:

Traceback (most recent call last):
File "Program.py", line 15, in <module>
ImportError: No module named 'fpdf'
[18189] Failed to execute script Program logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

使用的模块:

import xlrd
import xlwt
import os
from fpdf import FPDF

0 个答案:

没有答案