The development environment is as follows:
Operating system: Windows 7 32/64-bit
Development language and tools: Python 2.7.6, Setuptools 9.1, Pip 6.0.3
Development Ide:ulipad, WxPython 3.0, ComTypes 1.1.1
Other tools: Py2exe, PYODBC, etc.
1. Install Python
Go to download Pywin32, and install.
2. Install Setuptools
- To Https://pypi.python.org/pypi/setuptools download, there are three file types selected at the bottom of the page, such as any of the options.
Note: "Good pressure" can be decompressed.
- Decompression after double-click Run "easy_install.py", after successful will be "C:\Python27\" under the new Folder "Scripts", there will be 6 Easy_install related files, including Easy_install.exe.
3. Install Pip
- Go to http://pip.readthedocs.org/en/latest/installing.html, download get-pip.py
- Double-click to run "get-pip.py", after success will see in "C:\Python27\Scripts\" 3 Pip-related files, including Pip.exe.
- Add environment variables, right-click Computer-Properties-Advanced system settings-environment variables-System Variables-path-edit-variable values, add pips at the end of the path, such as "; C:\Python27\Scripts\ ".
- Restart the computer, run CMD after success, and you can use PIP as usual in Linux.
Note: Use PIP install * * *, may appear the following error "Unicodedecodeerror:ascii codec can ' t decode", the solution for the error in the page (the wrong message at the end!) ) Add code:
Import sysreload (SYS) sys.setdefaultencoding ('gb18030
4. Install Ulipad
- Because Ulipad relies on wxpython, you need to install Wxpython, Http://www.wxpython.org/download.php#linux download the appropriate version, and install it.
- Pip Install ComTypes
- Go to Http://git.oschina.net/limodou/ulipad Download the latest version of Ulipad, unzip and then double-click Run "ulipad.py".
Windows under the Python development environment configuration