SORU
15 HAZİRAN 2010, Salı


Neden't easy_install MySQLdb bulabilir mi?

Bu çalıştığım şey buydu:

$ easy_install-2.6 -d /home/user/lib/python2.6 MySQLdb  
Searching for MySQLdb  
Reading http://pypi.python.org/simple/MySQLdb/  
Couldn't find index page for 'MySQLdb' (maybe misspelled?)  
Scanning index of all packages (this may take a while)  
Reading http://pypi.python.org/simple/  
No local packages or download links found for MySQLdb  
error: Could not find suitable distribution for Requirement.parse('MySQLdb')  

CEVAP
15 HAZİRAN 2010, Salı


Yanlış paket adı var.

MySQL-python doğru olanıdır:

easy_install MySQL-python

ya

pip install MySQL-python

Bunu Paylaş:
  • Google+
  • E-Posta
Etiketler:

YORUMLAR

SPONSOR VİDEO

Rastgele Yazarlar

  • alexis gillis

    alexis gilli

    23 HAZİRAN 2011
  • Howcast

    Howcast

    4 EKİM 2007
  • Jay Will

    Jay Will

    19 NİSAN 2006