pip install pyinstaller
pyinstaller -F run.py
如果报错
如果报错
.py", line 34, in pre_safe_import_module
for real_module_name, six_module_name in real_to_six_module_name.items():
AttributeError: 'str' object has no attribute 'items'
执行如下命令解决
pip install -U --pre setuptools