Windows下Python开发环境配置
2014-12-30 17:47
357 查看
开发环境如下:
操作系统: Windows 7 32/64位
开发语言及工具: Python 2.7.6, Setuptools 9.1, Pip 6.0.3
开发IDE: Ulipad, wxPython 3.0, comtypes 1.1.1
其他工具: py2exe, pyodbc等
1、install python
去下载pywin32,并安装。
2、install setuptools
去https://pypi.python.org/pypi/setuptools下载,该页面底部有三种文件类型选择,如下图,任选一种。
备注:“好压”都可以解压。
解压后双击运行“easy_install.py”,成功后会在"C:\Python27\"下新建文件夹“Scripts”,里面会有6个easy_install相关的文件,含easy_install.exe。
3、install pip
去http://pip.readthedocs.org/en/latest/installing.html,下载get-pip.py
双击运行“get-pip.py”,成功后会在"C:\Python27\Scripts\"下看到3个pip相关的文件,含pip.exe。
添加环境变量,右键计算机-属性-高级系统设置-环境变量-系统变量-Path-编辑-变量值,在末尾添加pip的路径,如“;C:\Python27\Scripts\”。
重启计算机,成功后运行cmd,即可像在linux里一般使用pip了。
备注:使用pip install ***,可能会出现如下错误“unicodedecodeerror: ascii codec can't decode”,解决办法为在报错的页面(见报错信息末尾!)添加代码:
4、install ulipad
因为ulipad依赖于wxPython,需要先安装wxPython,去http://www.wxpython.org/download.php#linux下载相应的版本,并安装。
pip install comtypes
去http://git.oschina.net/limodou/ulipad下载ulipad的最新版本,解压后双击运行“UliPad.py”即可。
操作系统: Windows 7 32/64位
开发语言及工具: Python 2.7.6, Setuptools 9.1, Pip 6.0.3
开发IDE: Ulipad, wxPython 3.0, comtypes 1.1.1
其他工具: py2exe, pyodbc等
1、install python
去下载pywin32,并安装。
2、install setuptools
去https://pypi.python.org/pypi/setuptools下载,该页面底部有三种文件类型选择,如下图,任选一种。
备注:“好压”都可以解压。
解压后双击运行“easy_install.py”,成功后会在"C:\Python27\"下新建文件夹“Scripts”,里面会有6个easy_install相关的文件,含easy_install.exe。
3、install pip
去http://pip.readthedocs.org/en/latest/installing.html,下载get-pip.py
双击运行“get-pip.py”,成功后会在"C:\Python27\Scripts\"下看到3个pip相关的文件,含pip.exe。
添加环境变量,右键计算机-属性-高级系统设置-环境变量-系统变量-Path-编辑-变量值,在末尾添加pip的路径,如“;C:\Python27\Scripts\”。
重启计算机,成功后运行cmd,即可像在linux里一般使用pip了。
备注:使用pip install ***,可能会出现如下错误“unicodedecodeerror: ascii codec can't decode”,解决办法为在报错的页面(见报错信息末尾!)添加代码:
import sys reload(sys) sys.setdefaultencoding('gb18030')
4、install ulipad
因为ulipad依赖于wxPython,需要先安装wxPython,去http://www.wxpython.org/download.php#linux下载相应的版本,并安装。
pip install comtypes
去http://git.oschina.net/limodou/ulipad下载ulipad的最新版本,解压后双击运行“UliPad.py”即可。
相关文章推荐
- windows下配置python ,django,mysql,memcahe开发环境
- Python+Django在windows下的开发环境配置图解
- 在windows下安装配置python开发环境及Ulipad开发工具(转)
- Python+Django在windows下的开发环境配置
- Windows下配置Python3+Eric5+Pyqt4 开发环境
- windows上python和django开发环境的安装和配置
- python_在windows下安装配置python开发环境及Ulipad开发工具
- Windows环境下,在Eclipse下利用Pydev为Python配置开发环境
- Python学习【1】Windows下Python开发环境配置
- windows 下 Eclipse+python开发环境配置
- windows下python开发环境的配置
- Python+Django在windows下的开发环境配置图解
- Windows下Eclipse + PyDev配置Python + PyQt4开发环境
- 在windows下安装配置python开发环境及Ulipad开发工具
- windows下Python,wxPython,py2exe开发环境安装与配置
- 黄聪:在windows下安装配置python开发环境及Ulipad开发工具(转)
- windows下配置python开发环境
- 在windows下用eclipse + pydev插件来配置python的开发环境
- windows环境下python web开发环境安装配置
- windows环境下python web开发环境安装配置