Python Operation MySQL Database installation Mysql-python

Source: Internet
Author: User


WIN10 System 64-bit


Python needs to connect to MySQL database, install Mysql-python with PIP, and install error. Can not find the package dependencies and so on, so download directly download Mysql-python windows. EXE installer, directly install Mysql-python-1.2.3.win-amd64-py2.7.exe, strange is an installation on the error, Try to look at the attitude of the installation of 32-bit program Mysql-python-1.2.3.win32-py2.7.exe, unexpectedly good. I hereby record it.

C:\users\dell>python

Python 2.7.13 (V2.7.13:A06454B1AFA1, Dec, 20:42:59) [MSC v.1500 + bit (Intel)] on Win32

Type "Help", "copyright", "credits" or "license" for more information.

>>> Import MySQLdb



This article is from the "Sdsca" blog, make sure to keep this source http://sdsca.blog.51cto.com/10852974/1945623

Python Operation MySQL Database installation Mysql-python

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.