环境:Windows 64位 Python 3
使用pip install MySQLdb的时候报错:
Could not find a version that satisfies the requirement MySQLdb (from versions: )
No matching distribution found for MySQLdb
百度了一下,说是Python3不支持MySQLdb模块,需要用pymysql替代
于是pip install pymysql,然而还是找不到
最后使用pip3 install pymysql终于成功了。