1、Django 1.8开启admin
python3 manage.py migrate
python3 manage.py createsuperuser
2、Python3 mysql驱动
pip install PyMySQL
https://pypi.python.org/pypi/PyMySQL
brew services start mysql
3、No module named 'MySQLdb'
前提:必须本机安装了mysql
pip3.5 install cassandra-driver
pip3.5 install setuptools
pip3.5 install --upgrade numpy
pip3.5 install gitsome
pip3.5 install distribute
pip3.5 install soundscrape
pip3.5 install requests
pip3.5 install pyserial
pip3.5 install PyMySQL
pip3.5 install ConfigParser
pip3.5 install MySQL-python
pip3.5 install mysqlclient