Home:ALL Converter>How to change MySQL Connector installation directory?

How to change MySQL Connector installation directory?

Ask Time:2014-02-10T07:53:46         Author:Osama Yawar

Json Formatter

I am trying to Install MySQL Connector using "pip install mysql-connector-python" but it says that

Requirement already satisfied (use --upgrade to upgrade): mysql-connector-python in /Library/Python/2.7/site-packages 

I am using Python IDLE and i want to somehow install mysql-connector in IDLE`s modules directory and so MySQLdb.

How do i change the default directory which is /Library/Python/2.7/site-packages to the one used by IDLE?

Author:Osama Yawar,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/21666808/how-to-change-mysql-connector-installation-directory
yy