一、运行pip报错:Fatal error in launcher: Unable to create process using ‘"’
python -m pip install --upgrade pip
强制重装:python -m pip install --upgrade --force-reinstall pip
二、mysqlclient 1.3.13 or newer is required; you have 0.9.3
python3.7/site-packages/django/db/backends/mysql/base.py
注释掉
if version < (1, 3, 3):
raise ImproperlyConfigured(“mysqlclient 1.3.3 or newer is required; you have %s” % Database.version)
三、‘str’ object has no attribute ‘decode’
直接把decode去掉
四、django.db.utils.InternalError: (1049, “Unknown database ‘xxx’”)
先看setting里的配置是否正确,如果正确,在navicat创建一个同名的数据库就可以了