pyinstaller -F XXX.py时报错,打包失败。
环境:
PyInstaller版本: 3.6
OS版本: Windows 10
python版本:3.9.7
1. PyInstaller打包时报No module named ‘Crypto.Math’ 错误解决
错误信息如下:
INFO: Loading module hook "hook-Crypto.py"...
Traceback (most recent call last):
File "<string>", line 2, in <module>
ModuleNotFoundError: No module named 'Crypto.Math'
通常的解决办法是: