启动celery报错,提示:timer' object has no attribute 'isalive(计时器“对象没有属性”isalive),报错信息如图所示:

根据网上搜索,都是说啥redis版本的问题,实际原因是:3.8版本和之前的用isAlive没问题,3.9之后就淘汰了,既然淘汰了,我们不用不就行了嘛。

所有我们进入源文件,直接把这个and not self.isAlive()删掉并保存文件。

最后运行celery,成功启动。

timer‘ object has no attribute ‘isalive相关推荐

  1. Python错误:AttributeError: 'generator' object has no attribute 'next'解决办法

    今天在学习生成器对象(generation object)运行以下代码时,遇到了一个错误: #定义生成器函数 def liebiao(): for x in range(10): yield x #函 ...

  2. AttributeError: 'dict' object has no attribute 'status_code'

    前端AJAX请求数据,提示错误:"AttributeError: 'dict' object has no attribute 'status_code'". 原因:是提示返回对象 ...

  3. Traceback (most recent call last): File AttributeError: 'NoneType' object has no attribute 'group'

    Traceback (most recent call last):File "<stdin>", line 1, in <module> Attribut ...

  4. 解决:AttributeError: ‘Graph‘ object has no attribute ‘number_of_selfloops‘

    解决:AttributeError: 'Graph' object has no attribute 'number_of_selfloops' 目录 解决:AttributeError: 'Grap ...

  5. AttributeError: ‘FPDF‘ object has no attribute ‘unifontsubset‘

    AttributeError: 'FPDF' object has no attribute 'unifontsubset' 目录 AttributeError: 'FPDF' object has ...

  6. AttributeError: ‘Series‘ object has no attribute ‘as_matrix‘

    AttributeError: 'Series' object has no attribute 'as_matrix' 问题: y_test = test_shifted["y_t+1&q ...

  7. AttributeError: ‘SVC‘ object has no attribute ‘_probA‘

    AttributeError: 'SVC' object has no attribute '_probA' 问题: # Save the Modle to file in the current w ...

  8. sklearn使用FeatureHasher处理字符串特征: AttributeError: ‘str‘ object has no attribute ‘items‘

    sklearn使用FeatureHasher处理字符串特征: AttributeError: 'str' object has no attribute 'items' 目录 sklearn使用Fea ...

  9. Keras问题“AttributeError: 'NoneType' object has no attribute 'update”解决

    BUG 在使用Keras训练模型时,在每个epoch完成后save_model时会报错 "AttributeError: 'NoneType' object has no attribute ...

最新文章

  1. jmeter笔记(8)--关联
  2. React中如何优雅的捕捉事件错误
  3. LightOJ - 1265 概率
  4. shell编程面试必会30题
  5. Mongodb 笔记04 特殊索引和集合、聚合、应用程序设计
  6. 纯API函数实现串口读写。
  7. 深入了解CSS字体度量,行高和vertical-align
  8. 【转】国密算法sm4 CBC模式加解密
  9. Kali-Linux-2019.04虚拟机与物理机实现复制粘贴功能
  10. mysql中的基本数据类型_mysql基本数据类型
  11. 2019最受欢迎数据库:MySQL居首PostgreSQL第二Oracle位列第八
  12. 计算机需要 更新 无法卸载,电脑更新变卡顿,只要卸载它就能解决?
  13. 面向数据科学的概率论 一、基础
  14. 数据可视化js框架 d3.js入门
  15. adb命令刷机vivox20_vivo手机变砖 刷机手机端口连上显示adb
  16. 移动硬盘安装Linux ubuntu20.04.1LTS,分区详细介绍
  17. 可视化滤波器fvtool
  18. 绝对免费搭建不限速私人网盘5T存储空间:Gearhost免费空间+OneIndex程序+Onedrive免费账号
  19. 《操作系统真象还原》第十四章 ---- 实现文件系统 任务繁多 饭得一口口吃路得一步步走啊(上一)
  20. word标题和文字直接的空格

热门文章

  1. java sax解析_Java 解析xml 之 SAX解析
  2. wsdl生成客户端调用代码
  3. uni-app web-view缩放
  4. insert into 批量导入数据的案例
  5. VBS基础篇 - 变量(4) - 变量的存活期
  6. 在 VS 中调试 Qt 源码
  7. 蓝桥杯-火星人-python解法
  8. CrackMe 破解能力测试等级2的注册代码定位及爆破
  9. Python3 - Mysql 数据备份与SCP灾备
  10. pointnet++代码逐行解析(一)——— train_classification