1.安装python
环境变量path添加 ;C:\Python27;C:\Python27\Lib\site-packages;C:\Python27\Scripts
2.安装easy_install
https://pypi.python.org/pypi/ez_setup
解压后tar.gz进入目录 python setup.py install
3.安装pip
https://pypi.python.org/pypi/pip
解压后tar.gz进入目录 python setup.py install
4.whl安装方法 pip install “xxxwhl”
1.下载wxpython,通过exe安装
http://wxpython.org/download.php
2.下载matplotlib,通过pip install “xxxwhl”安装 https://pypi.python.org/pypi/matplotlib/
http://matplotlib.org/users/installing.html
For standard Python installations you will also need to install compatible versions of setuptools, numpy, python-dateutil, pytz, pyparsing, and cycler in addition to matplotlib.
3.通过pip install pyinstaller安装py2exe
http://pythonhosted.org/PyInstaller/#using-pyinstaller
4.进入py文件目录,pyinstaller xxxpy -F 生成单一exe
原文:http://www.cnblogs.com/my8100/p/5322606.html