使用pyinstaller打包的问题
打包成一个目录就可以正常工作,命令如下:
python pyinstaller.py D:\tmp\test\test.py
但是后来我尝试打包成一个文件时, 命令如下:
python pyinstaller.py -F D:\tmp\test\test.py
发现最后虽然可以正常生成一个EXE,但是却无法运行,每次运行时就出现一个Runtime Error,具体信息如下:
Runtime Error!
Program: xxxxx
R6034
An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.
不知道什么原因, 麻烦有经验的指点一下.