1、下载PyInstaller 2、运行一下命令 python pyinstaller.py –onefile –icon=app.ico “app.py” –onefile:建立一个单独的可执行文件。 –icon:为.exe文件添加一个图标文件。 参考: —http://pythonhosted.org/PyInstaller/
python
python库在windows下的安装
若第三方包中有setup.py,则可以在此文件所在目录下这样安装
python setup.py install
MARK一下。