- 博客(5)
- 收藏
- 关注
原创 报错信息django2.2/mysql ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3
报错环境 python=3.6,django=2.2.6,PyMySQL=0.9.3 …… django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. 解决方法: Django连接MySQL时默认使用MySQLdb驱动,但MySQLdb不支持Pyth...
2019-10-21 20:25:05
175
原创 django.core.exceptions.ImproperlyConfigured:Passing a 3-tuple to include() is not supporte····
终端报错信息如下: django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supporte Pass a 2-tuple containing the list of patterns and app_name, and provide the namespace argument ...
2019-10-21 20:09:39
885
原创 创建虚拟环境时出现OSError错误的解决方法
如果在创建虚拟环境时出现如下报错信息: OSError: Command /home/python/.virtualenvs/bj18_py/bin/python3 - setuptools pip wheel failed with error code 2 则只需将pip升级即可 升级命令:python -m pip install -U pip 然后再创建虚拟环境即可成功! ...
2019-10-21 17:55:11
1530
转载 Ubuntu 16.04安装Nginx
在Ubuntu下安装Nginx有以下方法,但是如果想要安装最新版本的就必须下载源码包编译安装。一、基于APT源安装sudo apt-get install nginx安装好的文件位置:/usr/sbin/nginx:主程序/etc/nginx:存放配置文件/usr/share/nginx:存放静态文件/var/log/nginx:存放日志其实从上面的根目录文件夹可以知道,Linux系统的配置文件一...
2018-07-01 12:43:26
331
原创 mysql 5.5 忘记密码解决步骤(windows版)
一、打开一个命令行1.关闭mysql服务net stop mysql2.跳过权限启动(这条命令要替换成自己的mysql对应版本的配置文件路径)mysqld --defaults-file="C:\Program Files (x86)\MySQL\MySQL Server 5.5\my.ini" --console --skip-grant-tables二、打开一个新的命令行3.无密码登录mys...
2018-07-01 11:49:25
1574
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人