Home  >  Q&A  >  body text

python3.5 - python3使用pip不能安装第三方库MySQLdb

用的python 3.5,使用pip不能安装第三方库MySQLdb:

D:\demo>pip install MySQLdb
Collecting MySQLdb
  Could not find a version that satisfies the requirement MySQLdb (from versions: )
No matching distribution found for MySQLdb

在http://www.lfd.uci.edu/~gohlk... 寻找,不知道是哪一个。

要怎么才可以?

怪我咯怪我咯2741 days ago586

reply all(2)I'll reply

  • 高洛峰

    高洛峰2017-04-17 15:17:30

    MySQLdb does not support py3
    Please use PyMySQL instead~

    reply
    0
  • PHPz

    PHPz2017-04-17 15:17:30

    I am also depressed. The Django-erp system I downloaded uses MySQLdb, and I use python3.5.2

    reply
    0
  • Cancelreply