无法在具有python2.7和python 3.7的Mojave 10.14的Mac上安装MySqlDb

时间:2019-03-28 20:03:27

标签: mysql-python

我在Mac上安装了python2.7和python3.7(运行Mojave mysql 10.14)。我可以在机器上安装mysql和mysql.connector。但是遇到安装MySqlDb的麻烦。有没有人遇到类似的问题?

sharus-MacBook-Pro:~ sharugupta$ pip install MySQLdb
DEPRECATION: Python 2.7 will reach the end of its life on January 
1st, 2020. Please upgrade your Python as Python 2.7 won't be 
maintained after that date. A future version of pip will drop 
support for Python 2.7.
Collecting MySQLdb
  Could not find a version that satisfies the requirement MySQLdb 
 (from versions: )
No matching distribution found for MySQLdb
sharus-MacBook-Pro:~ sharugupta$ pip3 install MySQLdb
Collecting MySQLdb
Could not find a version that satisfies the requirement MySQLdb 
(from versions: )
No matching distribution found for MySQLdb
sharus-MacBook-Pro:~ sharugupta$ '

0 个答案:

没有答案