小陆同学

python 中文名:蟒蛇,设计者:Guido van Rossum

导航

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页

2020年3月3日 #

python--安装mysqlclient报错

摘要: |████████████████████████████████| 90 kB 9.5 MB/s ERROR: Command errored out with exit status 1: command: /usr/local/python3/bin/python3.7 -c 'import 阅读全文

posted @ 2020-03-03 00:32 小陆同学 阅读(1495) 评论(0) 推荐(0) 编辑

python--安装ldap报错

摘要: Running setup.py install for python-ldap ... error ERROR: Command errored out with exit status 1: command: /usr/local/python3/bin/python3.7 -u -c 'imp 阅读全文

posted @ 2020-03-03 00:24 小陆同学 阅读(2890) 评论(0) 推荐(0) 编辑

2020年2月28日 #

bootstrap--如何做一个doublebox双向选择器

摘要: 恢复内容开始 1、首先什么是双向选择器,上图 类似这样的一个可以穿梭相互选择的选择器,实现方法:html+jquery+django django-models.py # 用户组使用了Django自带的group表 from django.contrib.auth.models import Use 阅读全文

posted @ 2020-02-28 21:41 小陆同学 阅读(1525) 评论(0) 推荐(0) 编辑

mysql--容器启动失败

摘要: ERROR: for mysql Cannot start service mysql: b'Mounts denied: \r\nThe paths /mnt/Archery/src/docker-compose/mysql/my.cnf and /mnt/Archery/src/docker-c 阅读全文

posted @ 2020-02-28 18:49 小陆同学 阅读(1086) 评论(0) 推荐(0) 编辑

mysql--容器无法启动

摘要: mysql服务总是在重启状态 查看mysql容器日志 # docker logs 镜像名称 InnoDB: If this error appears when you are creating an InnoDB database, InnoDB: the problem may be that 阅读全文

posted @ 2020-02-28 12:45 小陆同学 阅读(697) 评论(0) 推荐(0) 编辑

python--虚拟环境的使用

摘要: 下载virtualenv # pip3 install virtualenv 创建虚拟环境(自定义虚拟环境名称为Aechery_env) # virtualenv -p python3 Archery_env 激活虚拟环境 # source Archery_env/bin/activate 推出虚拟 阅读全文

posted @ 2020-02-28 10:17 小陆同学 阅读(170) 评论(0) 推荐(0) 编辑

2020年2月27日 #

linux--解决celery消息中间件带来的一系列问题

摘要: 启动celery定时任务 1、celery -A OpsManage beat -l info -S django 2、celery -A OpsManage worker -l info 此时消息中间件为rabbitmq # BROKER_URL = 'amqp://guest:guest@loc 阅读全文

posted @ 2020-02-27 14:34 小陆同学 阅读(996) 评论(1) 推荐(0) 编辑

2020年2月22日 #

django--关于部署scrapyd项目报错问题

摘要: 首先在同步两篇之前写过的博客,可能能用得到 1、https://www.cnblogs.com/lutt/p/10893192.html2、https://www.cnblogs.com/lutt/p/10895317.html在上述操作的过程中,在执行命令:scrapyd-deploy时遇报错: 阅读全文

posted @ 2020-02-22 12:56 小陆同学 阅读(3045) 评论(2) 推荐(1) 编辑

2020年2月20日 #

jquery--获取input checkbox是否被选中以及渲染checkbox选中状态

摘要: jquery获取checkbox是否被选中 html <div><input type="checkbox" id="is_delete" name="is_delete"> 是否删除</div> <div><input type="checkbox" id="is_time" name="is_t 阅读全文

posted @ 2020-02-20 15:42 小陆同学 阅读(2976) 评论(0) 推荐(0) 编辑

2020年2月19日 #

jquery--获取input radio单选框的值

摘要: html <input type="radio" name="sex" value="man" checked> man <input type="radio" name="sex" value="woman"> woman jquery ("[name='sex']:checked").val() 阅读全文

posted @ 2020-02-19 10:31 小陆同学 阅读(4245) 评论(0) 推荐(1) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 23 下一页