pyinstaller 打包
[root@mhc nsf]# pip install pyinstaller
Collecting pyinstaller
? Downloading PyInstaller-3.3.tar.gz (3.5MB)
??? 100% |████████████████████████████████| 3.5MB 16kB/s
Requirement already satisfied: setuptools in /usr/lib/python2.7/site-packages (from pyinstaller)
Collecting pefile>=2017.8.1 (from pyinstaller)
? Downloading pefile-2017.9.3.tar.gz (61kB)
??? 100% |████████████████████████████████| 71kB 19kB/s
Collecting macholib>=1.8 (from pyinstaller)
? Downloading macholib-1.8-py2.py3-none-any.whl
Collecting dis3 (from pyinstaller)
? Downloading dis3-0.1.1-py2-none-any.whl
Collecting future (from pefile>=2017.8.1->pyinstaller)
Collecting altgraph>=0.13 (from macholib>=1.8->pyinstaller)
? Downloading altgraph-0.14-py2.py3-none-any.whl
Installing collected packages: future, pefile, altgraph, macholib, dis3, pyinstaller
? Running setup.py install for pefile ... done
? Running setup.py install for pyinstaller ... done
Successfully installed altgraph-0.14 dis3-0.1.1 future-0.16.0 macholib-1.8 pefile-2017.9.3 pyinstaller-3.3
---------------
pyinstaller --onefile gen_consul_data_for_redis_ms.py
轉(zhuǎn)載于:https://www.cnblogs.com/mhc-fly/p/7746644.html
總結(jié)
以上是生活随笔為你收集整理的pyinstaller 打包的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CentOS 7 安装.NET Core
- 下一篇: java---面试题 丑数