欢迎光临!
登录
  • 文章归档
  • 友情链接
  • 代码高亮
  • 在线音乐
順子の杂货铺 順子の杂货铺 生命不息,折腾不止!且行且珍惜!
  • 首页
  • 大数据
  • 数据库
    • Oracle
    • MySQL
  • 系统运维
    • Linux
    • 网络安全
  • 编程学习
    • Python
    • SQL
  • 资源共享
  • 关于
    • 给我留言
bj
登录
站内
百度
谷歌
必应
搜狗
360
首页2019

201911年

django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3. Python

django.core.exceptions.ImproperlyConfigured: mysqlclient 1.3.13 or newer is required; you have 0.9.3.

今天在linux系统部署程序时报错,django2.2 mysql 8.0 错误信息如下: python manage.py makemigrations 首先想到的是,升级mysqlclient版本...
shunzi 2019-06-18评论django python
阅读全文
deepin linux 安装python-ldap找不到lber.h的解决方法 Python

deepin linux 安装python-ldap找不到lber.h的解决方法

pip install python-ldap安装报错 通过google搜索 得知解决办法如下: sudo apt-get install libldap2-dev libsasl2-dev 记录一下...
shunzi 2019-06-08评论python python-ldap
阅读全文

mysqld初始化报错找不到libnuma.so.1和libaio.so.1

今天在做mysql5.7初始化库的时候报错,内容如下: 执行命令:mysqld --defaults-file=/data/mysql3306/mysql3306.cnf --initialize 报...
shunzi 2019-03-29BLOG评论initialize mysql
阅读全文

git执行pull命令时报错

今天在用git拉取代码的时候报错,内容如下: You asked to pull from the remote 'origin', but did not specify a branch. Bec...
shunzi 2019-03-27BLOG评论git master
阅读全文
xargs: Warning: a NUL character occurred in the input. BLOG

xargs: Warning: a NUL character occurred in the input.

今天遇到一个问题,批量删除redis里的keys报错。原因是java程序在做序列化的时候生成了一些特殊的key! redis数据如下: 批量删除的脚本如下: redis-cli -h 192.168....
shunzi 2019-03-26评论lua redis
阅读全文
Python中字典的value是列表的运用 BLOG

Python中字典的value是列表的运用

今天群里一个朋友问了一个python问题,将列表a里的内容 转换成列表b那种格式,示例如下 a=[{'table': u'games', 'value...
shunzi 2019-03-23评论list python
阅读全文
Python爬取DWR框架的网站 BLOG

推荐Python爬取DWR框架的网站

最近有个爬取竟台数据的需求,在写python代码的时候,遇到了对方是DWR框架网站。用Chrome开发者工具一看,Post提交参数一堆字典,头都大了。 网站Hearders and Request b...
shunzi 2019-03-22评论DWR python
阅读全文

Python读取文件中unicode编码转成中文显示

最近在写爬虫的时候,遇到一个爬去的返回结果里有unicode编码的字符串,遇到的问题是:直接print显示中文,保存到文件里就是乱码。 通过查找,解决办法如下: eval("u"+"\'"+unico...
shunzi 2019-03-22Share评论eval python
阅读全文
python打印love图 BLOG

python打印love图

分享两段代码: 打印love图: print('\n'.join([''.join([(u'I@Love@You爱'[(x-y)%11]if((x*0.05)**2+(y*0.1)**2-1)**3-...
shunzi 2019-01-11评论pyinstall python
阅读全文

随机文章

  • 记一次Redis集群搭建 记一次Redis集群搭建 02/08
  • Python爬取DWR框架的网站 Python爬取DWR框架的网站 03/22
  • ORA-06502:PL/SQL:number or value error:character string buffer too small ORA-06502:PL/SQL:number or value error:character string buffer too small 07/10
  • Oracle正则表达式 Oracle正则表达式 02/08
  • deepin linux v20.2系统安装 deepin linux v20.2系统安装 04/11

推荐栏目

  • 文章归档
  • System
  • 代码高亮
  • Oracle
  • MySQL
  • Python
  • 在线音乐
  • Network
  • 友情链接
  • 我的微信

    我的微信

  • 微信打赏

    微信打赏

  • 支付宝打赏

    支付宝打赏

关于本站:

順子の杂货铺,记录本人在学习过程中有趣的内容,与大家一起分享,共同进步。

Copyright © 2008-2023 zhengshun.wang. All rights reserved. Powered by WordPress 5.1, hosted on Vultr VPS.

  • 繁
  • 順子の杂货铺 本页二维码