摘要: Ubuntu18.04下使用pip3.8报错 前言 报错信息 原因 解决办法 前言 Ubuntu系统中没有python3.8,安装完之后将pip3软连接到pip3.8后,执行pip3 list报错,原环境上安装的是python3.6。 报错信息 subprocess.CalledProcessErr 阅读全文
posted @ 2021-06-23 14:06 聪明的大嘴花 阅读(4772) 评论(0) 推荐(0) 编辑
摘要: 报错截图 解决办法: 1.切换到root状态下,安装sqlite3依赖 apt-get install libsqlite3-dev 2.重新编译安装Python tar -xzvf Python-3.8.3.tgzcd Python-3.8.3/./configure prefix=/usr/lo 阅读全文
posted @ 2021-06-23 14:02 聪明的大嘴花 阅读(614) 评论(0) 推荐(0) 编辑
摘要: shell命令中find的用法 find $current_dir/log/ServiceMainBody_log -name “output*” -mtime +10 -exec rm {} \;** -name filename #查找名为filename的文件-exec: #find命令对匹配 阅读全文
posted @ 2021-06-23 14:01 聪明的大嘴花 阅读(297) 评论(0) 推荐(0) 编辑
摘要: Ubuntu 中卸载软件 1. dpkg --list 查看软件 2. 输入命令sudo apt-get --purge remove 包名(–purge是可选项,写上这个属性是将软件及其配置文件一并删除,如不需要删除配置文件,可执行sudo apt-get remove 包名),按下回车,输入密码 阅读全文
posted @ 2021-06-23 14:00 聪明的大嘴花 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 一、安装 1. 安装完成之后,在终端输入 git --version 查看版本信息 2. 创建一个全局用户名、全局邮箱作为配置信息 git config --global user.name "your_name" git config --global user.email "your_emai 阅读全文
posted @ 2021-06-23 13:59 聪明的大嘴花 阅读(39) 评论(0) 推荐(0) 编辑
摘要: 阻塞高风险 分布式任务调度系统 Celery 是一个简单,灵活且可靠的,处理大量消息的分布式系统,他是一个专注于实时处理的任务队列,同时也支持任务调度 broker 消息传输的中间件,生产者一旦有消息发送,将发送至broker (rq redis) backend 用于存储消息/任务结果,如果需要跟 阅读全文
posted @ 2021-05-27 11:10 聪明的大嘴花 阅读(204) 评论(2) 推荐(0) 编辑
摘要: 1.django.db.utils.OperationalError: no such table: django_session 原因:数据库中没有创建对应的表 执行 python manage.py makemigrations; python manage.py migrate 解决 2.dj 阅读全文
posted @ 2021-05-11 13:59 聪明的大嘴花 阅读(38) 评论(0) 推荐(0) 编辑
摘要: django:https://www.cnblogs.com/LiCheng-/p/6920900.html# https://www.cnblogs.com/songboriceboy/category/1867414.html mysql语句 流程控制函数 ①if(条件表达式,表达式1,表达式2 阅读全文
posted @ 2021-03-04 08:02 聪明的大嘴花 阅读(46) 评论(0) 推荐(0) 编辑
摘要: 1.执行如下命令 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2.上网查找相关方法,在/etc/hosts中加入如下内容 https://blog 阅读全文
posted @ 2021-02-27 12:16 聪明的大嘴花 阅读(317) 评论(0) 推荐(0) 编辑
摘要: class A(object): # 新式类 # class A: # 经典类 def __init__(self): print("A")class B(A): def __init__(self): print("B")class C(A): def __init__(self): print( 阅读全文
posted @ 2021-02-09 16:01 聪明的大嘴花 阅读(45) 评论(0) 推荐(0) 编辑