每次我尝试使用python manage.py runserver命令在终端中运行django应用程序时,都会得到以下错误:
Referenced from: /Users/myname/anaconda/lib/python2.7/site-packages/_mysql.so Reason: image not found.Did you install mysqlclient or MySQL-python?
作为项目自动安装的一部分,我尝试安装mysql-connector-python==1.0.12,但从pip install得到以下错误Could not find a version that satisfies the requirement mysql-connector-python1.0.12