The python module is a widely used computer language in practical application and has a certain understanding of its installation. However, you have some experience in installing the python module? If you want to know more about it, you can click the following article.
The latest version of the MySQL-python-1.2.3c1 does not have Windows version of the installer is said because the author does not use Windows and no longer maintain the Windows version), and simple use
- easy_install MySQL-python
An error is reported. Therefore, we need to use version 1.2.2.
- easy_install "MySQL-python==1.2.2"
Run the preceding command.
Self-compiled Process
1. Install setuptools
2. Install MySQL 5.1. Download the mb msi installation package. Do not select the essenessenversion because it does not contain the library files of the C program. Select custom install and Developer Components. If the file is correctly installed, the "include" folder is displayed in the installation path. For example, C: \ Program Files \ MySQL Server 5.1 \ include. contains a complete. h file.
3. Now and install
- Microsoft Visual Studio C++ Express 2008
In this way, the C compiler can be obtained.
4. Open the command line under the account with the administrator privilege. Make sure that the command line window is opened after the software is installed.
5. Run the following command line:
- easy_install -b C:\temp\sometempdir mysql-python
The above article introduces the practical application steps of the python module.