- 博客(6)
- 资源 (1)
- 收藏
- 关注
原创 django安装mysql驱动
django连接mysql数据库,需要安装数据库驱动pymysql,并在项目工程的__init__.py中加入下面两行代码:import pymysqlpymysql.install_as_MySQLdb()运行服务器时还会报错,django版本2.x或3.x都会报错,信息如下:django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.修改文件site
2020-06-28 19:13:03 279
原创 ubuntu 安装 git
ubuntu 安装 git测试软件是否已安装测试软件是否已安装首先Ctrl + Alt + T打开命令行终端,运行git命令如查看版本号,如果未安装则有相应提示,如下。user@user:~$ git --versionCommand 'git' not found, but can be installed with:sudo apt install git于是提示我们运行 sud...
2019-08-25 17:18:26 1325
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人