ntchat
ntchat copied to clipboard
用pyinstaller无法打包案例send_text_ui.py,请问要怎么打包带资源的xcgui+ntchat项目呢
打包用的 pyinstaller -F --collect-data=ntchat .\send_text_ui.py
4830 INFO: Looking for dynamic libraries Traceback (most recent call last): File "d:\python\python37\lib\site-packages\PyInstaller\isolated_parent.py", line 337, in call return isolated.call(function, *args, **kwargs) File "d:\python\python37\lib\site-packages\PyInstaller\isolated_parent.py", line 266, in call ok, output = loads(b64decode(self._read_handle.readline())) EOFError: EOF read where object expected
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "d:\python\python37\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "d:\python\python37\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\Python\Python37\Scripts\pyinstaller.exe_main.py", line 9, in
python用的3.7.4 使用资源文件描述xcgui布局+ntchat的时候才会有这个问题,是我遗漏了什么吗?