- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to 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 −

Now reach where scripts are located.

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

Advertisements