首页 > 编程知识 正文

使用pyinstaller打包python,python中pyinstaller的打包命令

时间:2023-05-06 09:07:31 阅读:182965 作者:4601

Traceback (most recent call last):

File"C:Pythonlibrunpy.py", line 193, in_run_module_as_main"__main__", mod_spec)

File"C:Pythonlibrunpy.py", line 85, in_run_codeexec(code, run_globals)

File"C:Users10223394PycharmProjectsTestvenvScriptspyinstaller.exe__main__.py", line 9, in File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstaller__main__.py", line 111, inrun

run_build(pyi_config, spec_file,**vars(args))

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstaller__main__.py", line 63, inrun_build

PyInstaller.building.build_main.main(pyi_config, spec_file,**kwargs)

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingbuild_main.py", line 838, inmain

build(specfile, kw.get('distpath'), kw.get('workpath'), kw.get('clean_build'))

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingbuild_main.py", line 784, inbuildexec(text, spec_namespace)

File"", line 32, in File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingapi.py", line 424, in __init__strip_binaries=self.strip, upx_binaries=self.upx,

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingapi.py", line 196, in __init__self.__postinit__()

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingdatastruct.py", line 158, in __postinit__self.assemble()

File"c:users10223394pycharmprojectstestvenvlibsite-packagesPyInstallerbuildingapi.py", line 273, inassemble

File"C:Pythonlibntpath.py", line 214, inbasenamereturn split(p)[1]

File"C:Pythonlibntpath.py", line 183, insplit

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。