How to create standalone executable file from python 3.5 scripts?

僤鯓⒐⒋嵵緔 提交于 2019-12-21 07:29:52

问题


Most of the programs available only support upto python version 3.4.


回答1:


You can use PyInstaller which support python 3.5.

To install it with pip execute in terminal: pip install pyinstaller

To make the .exe file:

pyinstaller --onefile script.py


来源:https://stackoverflow.com/questions/33168229/how-to-create-standalone-executable-file-from-python-3-5-scripts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!