Otrzymuję tę wiadomość, gdy używam yum install mysql-python
do instalacji MySQLdb.Jak zainstalować MySQLdb w Pythonie 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
Aktualizacja
Wynik dla 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
Spróbuj użyć 'pip'. 'pip install mysqldb-python'. –
'instalacja pip" lub 'łatwa_instalacja' ?? –
MySQL-python znajduje się w bazowym repozytorium. 'yum install MySQL-python' – jgb