11 2022 档案

摘要:使用apt安装python-dev时报错,更换软件源无法解决。 首先确定python版本(大版本号,我的是3),然后使用python3-dev代替python-dev。 使用aptitude解决问题: 1.安装 aptitude sudo apt install aptitude 2.然后用apti 阅读全文
posted @ 2022-11-24 18:12 ji哩咕噜 阅读(2588) 评论(0) 推荐(0) 编辑
摘要:直接在服务器敲: apt-get install xxxx 遇到报错: E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied) E: Unable to acquire the dp 阅读全文
posted @ 2022-11-24 17:42 ji哩咕噜 阅读(853) 评论(0) 推荐(0) 编辑
摘要:如果你 在终端里输入git clone "https地址" 报以下错误: GnuTLS recv error (-110): The TLS connection was non-properly terminated. 意思是:TLS连接未正确终止。 解决方法: git clone --recur 阅读全文
posted @ 2022-11-24 16:28 ji哩咕噜 阅读(3520) 评论(0) 推荐(1) 编辑
摘要:报错代码:(403) ACCESS_REFUSED - Login was refused using authentication mechanism PLAI(省略) 解决方案: 在rabbitmq中注册用户 具体代码实现: 列出用户 rabbitmqctl list_users ps:一般只有 阅读全文
posted @ 2022-11-16 18:42 ji哩咕噜 阅读(869) 评论(0) 推荐(0) 编辑
摘要:这是一个在py2.x中导入3.x的导入特性的语句, 是为了区分出绝对导入和相对导入. 在一般的Python学习资料中介绍3.x的相对导入时候一般都会说相对导入最后不要超过两层. 但是需要区分出我们编写的代码是干嘛的,如果是写的应用程序,在加入了from __future__ import absol 阅读全文
posted @ 2022-11-11 17:17 ji哩咕噜 阅读(473) 评论(0) 推荐(0) 编辑
摘要:当我们使用@app.task装饰器定义我们的异步任务时,那么这个任务依赖于根据项目名myproject生成的Celery实例。 app = Celery('myproject') @app.task(bind=True) def debug_task(self): print('Request: { 阅读全文
posted @ 2022-11-11 16:43 ji哩咕噜 阅读(1148) 评论(0) 推荐(0) 编辑
摘要:需求:本地mysql端口连到k8s集群中 报错: Unable to listen on port 3306: Listeners failed to create with the following errors: [unable to create listener: Error listen 阅读全文
posted @ 2022-11-11 15:31 ji哩咕噜 阅读(397) 评论(0) 推荐(1) 编辑
摘要:安装: 桌面版:https://www.docker.com/products/docker-desktop 服务器版:https://docs.docker.com/engine/install/#server 启动报错解决: 报错截图: 解决方法:控制面板->程序->启用或关闭 windows 阅读全文
posted @ 2022-11-02 15:05 ji哩咕噜 阅读(142) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示