Python environment and python Environment
Source: http://www.cnblogs.com/winstic/, reserve this connection
Summarize how to install a third-party package in python.
Python Installation
Python installation is very simple. I use win32 + Python 2.7.3. You only need to download the corresponding version of Python msi file https://www.python.org/downloads/windows/, and install Python in a foolproof way.
Finally, do not forget to add the Python installation path to the environment variable path. Mine is (F: \ Python27)
Enter python in the win32 doscommand box. If the following result is displayed, the installation is successful.
Python third-party package installation
Third-party packages are often used to improve programming efficiency when using python,
1. Directly download exe resources such as: numpy-1.9.0-win32-superpack-python2.7.exe, this installation method is very simple, it is also silly Installation
2. decompress the package file and find the. py file. Then, run the python ***. py command in dos to install it. For example, install ez_setup.py.
Do not show Chinese characters in the command line
Finished... is displayed in the Command box, indicating that the installation is successful.
3. You need to manually download the above two methods and install them later. We can also install them in the command line by using easy_install packagename.
In the Scripts file, add F: \ Python27 \ Scripts to the environment variable. If the test appears under the doscommand, the installation is successful.
To install the third-party package in the future, run the easy_install flask command to install the flask web framework)