Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教一下release里面的stop_jump的可执行文件是怎样打包的。 #1227

Open
Deali-Axy opened this issue Mar 19, 2018 · 11 comments
Open

Comments

@Deali-Axy
Copy link

如题。
我是python初学者,使用py3.6版本,用pyinstaller打包一直失败,连helloworld打包出来也不能运行。
想学习一下python程序的打包方法。

@leon332157
Copy link
Collaborator

@Deali-Axy 有没有报错?

@Deali-Axy
Copy link
Author

@leon332157 打包helloworld的时候没有报错,但是运行的时候显示停止运行了。
打包我的区块链测试项目的时候一大堆错误。

@leon332157
Copy link
Collaborator

什么意思

@Deali-Axy
Copy link
Author

@leon332157 我表达得不清楚嘛。
我写了一个只有一行代码 helloworld 的py程序,然后使用pyinstaller打包,一次通过,但是这个exe文件运行不了,一打开就停止运行。

@leon332157
Copy link
Collaborator

@Deali-Axy 你打开cmd运行这个exe看看程序有没有报错。有的时候你用第三方库可能会报错

@Deali-Axy
Copy link
Author

@leon332157 我没有用第三方库的,就是单纯的print("helloworld")。是不是因为pyinstaller不支持py3.6

@leon332157
Copy link
Collaborator

@Deali-Axy 怎么可能不支持3.6...

@leon332157
Copy link
Collaborator

@Deali-Axy 你也不说有没有报错,我怎么帮你想办法......

@Deali-Axy
Copy link
Author

使用pyinstaller打包的时候没有报错呀,但是运行生成的exe就闪退了

@leon332157
Copy link
Collaborator

@Deali-Axy 所以我需要你在cmd里运行exe看看exe有没有报错

@Deali-Axy
Copy link
Author

@leon332157 好的,我试试看

@leon332157 leon332157 reopened this Apr 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants