Thanks to visit codestin.com
Credit goes to www.tutorialspoint.com

Install Python MySQLdb Module Using pip



To install python MySQLdb module, we need to install Python current version i.e. 3.7

We need to find the location of Python Scripts where pip command is located. First, open the cmd and reach the location of Python Scripts.

To open cmd, press "Windows+R" and type cmd.

Here is the snapshot −

Command Prompt

Now reach where scripts are located.

Windows CMD

We will now install "MySQLdb" module. The steps are displayed in the following screenshot.

SQL Install
Updated on: 2019-07-30T22:30:23+05:30

3K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements