02 2021 档案
摘要:报错信息: django.core.exceptions.ImproperlyConfigured: mysqlclient 1.4.0 or newer is required; you have 0.10.1. 解决方案: 在settings.py的同路径下的__init__.py加入以下内容
阅读全文
摘要:1.输入命令ip a ,查看自己网卡编号,比如我的是ens33 2.输入命令sudo vim /etc/network/interfaces,编辑该文件。address设置本机ip地址,netmask设置子网掩码,gateway设置网关,修改完成保存退出。 3.输入命令sudo vim /etc/s
阅读全文