"E:\API_Manager_PlatForm\venv\lib\site-packages\django\db\backends\mysql\base.py"在這個路徑里件把base.py
if version < (1, 3, 3):
raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)
注釋掉 就行了
另一個問題
AttributeError: 'str' object has no attribute 'decode'
解決方法1:把decode改為encode即可。
解決思路2:
根據問題提示,意思是,屬性錯誤:“str”對象沒有屬性“decode”
python3.5和Python2.7在套接字返回值解碼上的區別
python在bytes和str兩種類型轉換,所需要的函數依次是encode(),decode()