I use Pyinstaller to pack my program , when i run the EXE , show error message : ImportError: No module named 'xlsxwriter'
i am very sure the program can be Run, and xlsxwriter have been install success.
would you pls help me to fix this problem ?
thank you .
below is the .spec file
# -*- mode: python -*-
block_cipher = None
a = Analysis(['Main.py'],
pathex=['C:\\Users\\510428\\Desktop\\Ming and Sonic project\\Python_MingAndSonic'],
binaries=None,
datas=None,
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
excludes=None,
win_no_prefer_redirects=None,
win_private_assemblies=None,
cipher=block_cipher)
pyz = PYZ(a.pure, a.zipped_data,
cipher=block_cipher)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='Main',
debug=False,
strip=None,
upx=True,
console=True )