本文介绍了创建自包含的python应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试创建比萨(html到pdf转换器,最新版本),但是由于多个错误,我无法成功.我已经尝试过py2exe,bb-freeze和cxfreeze.
I'm trying to create a self-contained version of pisa (html to pdf converter, latest version), but I can't succeed due to several errors. I've tried py2exe, bb-freeze and cxfreeze.
这必须在Windows中,这使我的生活更加艰难.我记得几个月前,作者有一个包含安装程序的zip文件,但是现在不见了,只剩下依赖于python的方式.
This has to be in windows, which makes my life a bit harder. I remember that a couple of months ago the author had a zip file containing the install, but now it's gone, leaving me only with the python dependent way.
您将如何解决?
推荐答案查看 pyinstaller ,它可以独立运行可执行文件(就像在一个.EXE文件中一样).
Check out pyinstaller, it makes standalone executables (as in one .EXE file, and that's it).
更多推荐
创建自包含的python应用程序
发布评论