You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this post is just a simple instruction about how to pack python into exe,
he mention the issue,
unfortunately there is no solution about this.
info when execute as debug enable
PyInstaller Bootloader 3.x
LOADER: executable is G:\start_gui_console.exe
LOADER: homepath is G:
LOADER: _MEIPASS2 is NULL
LOADER: archivename is G:\start_gui_console.exe
LOADER: Extracting binaries
Microsoft.VC90.CRT.manifest could not be extracted!
LOADER: temppath is C:\Users\中文使~1\AppData\Local\Temp_MEI49402
LOADER: Error extracting binaries
C:\Users\中文使用者名稱\Downloads>start_gui_console.exe
PyInstaller Bootloader 3.x
LOADER: executable is C:\Users\銝剜?雿輻??蝔崤Downloads\start_gui_console.exe
LOADER: homepath is C:\Users\銝剜?雿輻??蝔崤Downloads
LOADER: _MEIPASS2 is NULL
LOADER: archivename is C:\Users\銝剜?雿輻??蝔崤Downloads\start_gui_console.exe
LOADER: Extracting binaries
Microsoft.VC90.CRT.manifest could not be extracted!
LOADER: temppath is C:\Users\中文使~1\AppData\Local\Temp_MEI74602
LOADER: Error extracting binaries
ok, a reference debug output,
as you can see only temppath is output in console with correct encoding,
so the _tempnam is actually output a multibyte encoding string,
int pyi_get_temp_path(char *buffer) in pyi_utils.c needs some correction about this
Windows 10 [Version 10.0.10586]
Python 2.7.11
PyInstaller 3.1.1
cmd use to create exe
pyinstaller --noupx --onefile --version-file=tmp\build_dist_ver.txt --debug --name=start_gui_console start_gui.py
I hit an issue which cause by chinese username,
if I create a windows user with chinese name,
which will make a directory based on it,
as the screenshot shows
chinese username directory
when execute a PyInstaller bundle exe under that user with chinese username,
it will kick out an error box
error screenshot
says
which I have no clue about how to solve it,
some google do have one blog post mention about it
Python脚本打包成exe程序总结
this post is just a simple instruction about how to pack python into exe,
he mention the issue,
unfortunately there is no solution about this.
info when execute as debug enable
probably related to #1799
The text was updated successfully, but these errors were encountered: