How to install MySQL-python in Centos 7 and Python 2.7.5

You are viewing an old version of this question. View the current version here.

Hello, I need to install a system that uses MariaDB... to be able to install it. it is required to install the connector between Python and MariaDB, however, when executing "yum install MySQL-python", console shows that no package is available:

root@vps [~]# yum install MySQL-python
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                         |  16 kB  00:00:00
 * EA4: 208.100.0.204
 * base: ftpmirror.your.org
 * epel: mirror.steadfastnet.com
 * extras: ftpmirror.your.org
 * ius: ius.mirror.constant.com
 * updates: mirror.steadfastnet.com
EA4                                                                          | 2.9 kB  00:00:00
base                                                                         | 3.6 kB  00:00:00
epel                                                                         | 4.7 kB  00:00:00
extras                                                                       | 3.4 kB  00:00:00
ius                                                                          | 2.3 kB  00:00:00
mariadb                                                                      | 2.9 kB  00:00:00
updates                                                                      | 3.4 kB  00:00:00
(1/2): epel/x86_64/updateinfo                                                | 962 kB  00:00:00
(2/2): epel/x86_64/primary_db                                                | 6.6 MB  00:00:00
No package MySQL-python available.
Error: Nothing to do
root@vps [~]#

Do you know how can I troubleshoot this?

Regards Jaime

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.