Ich bekomme diese Nachricht, wenn ich yum install mysql-python
MySQLDb installieren.Wie installiert man MySQLdb in Python 2.6 CentOS
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.sin3.sg.voxel.net
* extras: mirrors.sin3.sg.voxel.net
* updates: mirrors.sin3.sg.voxel.net
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
Setting up Install Process
No package mysql-python available.
Error: Nothing to do
aktualisieren
Ergebnis für yum repolist
[email protected] [~]# yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.sin3.sg.voxel.net
* extras: mirrors.sin3.sg.voxel.net
* updates: mirrors.sin3.sg.voxel.net
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
repo id repo name status
base CentOS-6 - Base 6,019+362
extras CentOS-6 - Extras 13
updates CentOS-6 - Updates 802+140
repolist: 6,834
Versuchen Sie es mit 'Pip'. 'pip install mysqldb-python'. –
'pip install' oder' easy_install' ?? –
MySQL-Python ist in der Basis Repo. 'yum install MySQL-python' – jgb