As a glue language, Python has been widely used in program prototyping, 3D game graphics rendering, and interactive operation. Beginners are advised to start with version 2.7, because their third-party library is more and the novice has a lot of answers to the problem, easy to learn quickly.
The actual application development process is based on a variety of IDE python development. This article only describes the Win7-64bit installation Python27 and Easy_install, Pip process.
1, official website https://www.python.org/download software python-2.7.12rc1.amd64.msi (current latest version)
2, double-click to run the installation, all the way "Next" until "Finish"
3. Environment variable Configuration
Why Configure environment variables? If you do not configure, you find that other third-party packages cannot be installed.
can detect whether the environment variable is configured, all Programs-"accessories-" run-"input: cmd, and enter
Enter Python again in the Cmd.exe and find a prompt error
Note that the environment variables are not configured and need to be configured manually: Right-click My Computer, properties, tap Advanced system settings, click Environment variables, click Path, add our Python installation path (two paths: installation path for PYTHON27 Path and script paths), click OK. (Develop a good habit: all third-party packages can be placed in scripts later)
Once you have configured the environment variables and entered Python in Cmd.exe, you will see the following:
Indicates that the PYTHON27 is installed correctly.
4, Python third-party Package Installation tool: Win7 32-bit can use setuptools;win7 64 bits must be installed using ez_setup.py.
http://peak.telecommunity.com/dist/ez_setup.py
Right-click Save As py text, can be stored to D:\Python27\Scripts,即可在cmd.exe中D:\Program Files\python2.7\scripts下安装easy_install。
, ez_setup.py installation is complete. Here's what we need to say is that the D:\PYTHON27\SCRIPTS environment variable has been added in the previous step.
5, Next install Easy_install
在cmd.exe中
输入easy_install virtualenv即可
Easy-install mode installation failed because the network-limited download failed
This should be true if the download succeeds:
6, Easy_install installed after the successful installation, you can choose to install PIP
7. Additional third-party packages are required in the back, directly在cmd.exe中输入:pip install 包名 即可。
Resources:
①http://blog.csdn.net/dreamzml/article/details/8847879
②http://www.tuicool.com/articles/eim3er3
③http://f.dataguru.cn/thread-36396-1-1.html
Win7-64bit installation of Python27 and Easy_install, Pip process